جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
How do you increment a variable `x` by 1 in Java?

كيف تزيد متغير `x` بمقدار 1 في جافا؟
Write the code to implement a queue data structure using an array or a linked list, including methods to enqueue, dequeue, and peek elements.

اكتب الكود لتنفيذ بنية بيانات الطابور باستخدام مصفوفة أو قائمة مترابطة، بما في ذلك طرق لإضافة، وإزالة، واستعراض العناصر.
What does the `this` keyword refer to in Java?

ماذا يشير الكلمة الرئيسية `this` في جافا؟
Which of the following is an unchecked exception in Java?

أي من الأتي هو استثناء غير مدقق في جافا؟
Write the code to implement a recursive algorithm to determine whether a given binary tree is a binary search tree.

اكتب الكود لتنفيذ خوارزمية متكررة لتحديد ما إذا كانت شجرة ثنائية معينة هي شجرة بحث ثنائية.
What will be the output of the following Java code snippet?

int x = 10;
int y = ++x;
System.out.println(y);



ما سيكون الإخراج من مقتطف الكود جافا التالي؟

int x = 10;
int y = ++x;
System.out.println(y);
👍1
Which keyword is used to pass an object of a class as its own parameter?

أي كلمة مفتاحية تستخدم لتمرير كائن من فئة كمعلمة خاصة به؟
للاسف التفاعل اخر اسبوع قل والاغلب يطلع من القناه
🤣4😭2
Write the code to implement polymorphism by overriding the 'calculateArea()' method in the 'Circle' subclass in Java.

اكتب الكود لتنفيذ التعدد الشكلي عن طريق تجاوز طريقة 'calculateArea()' في الفئة الفرعية 'Circle' في جافا.
How do you achieve abstraction in Java?

كيف تحقق التجريد في جافا؟
Which of these is not a loop structure in Java?

أي من هذه ليس هيكل حلقة في جافا؟
Write the code to create an array of integers and initialize it with values in Java.

اكتب الكود لإنشاء مصفوفة من الأعداد الصحيحة وتهيئتها بقيم في جافا.
What is the correct way to compare two strings for equality in Java?

ما هو الطريقة الصحيحة لمقارنة سلسلتين للمساواة في جافا؟