جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
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?

ما هو الطريقة الصحيحة لمقارنة سلسلتين للمساواة في جافا؟
Which statement correctly creates a two-dimensional array in Java?

أي بيان ينشئ مصفوفة ثنائية الأبعاد بشكل صحيح في جافا؟
Write the code to define an abstract class 'Shape' with an abstract method 'calculateArea()' in Java.

اكتب الكود لتعريف فئة مجردة 'Shape' مع طريقة مجردة 'calculateArea()' في جافا.
In Java, which operator is used for logical AND operation?

في جافا، أي عامل يستخدم لعملية AND المنطقية؟