Learn java تعلم جافا
🔹أهلاً بك في قناة برمجة جافا🔹 النجاح ليس بما تكسب ، بل بما تقدم للآخرين. اي سؤال تواصل معي @Mushtak9. Buy ads https://telega.io/c/learn_java_e
Больше6 007
Подписчики
+424 часа
+1027 дней
+14030 дней
- Подписчики
- Просмотры постов
- ER - коэффициент вовлеченности
Загрузка данных...
Прирост подписчиков
Загрузка данных...
Write the code to implement a recursive algorithm to traverse a binary tree and print its elements in a specific order (e.g., pre-order, in-order, or post-order).
اكتب الكود لتنفيذ خوارزمية متكررة لجولة شجرة ثنائية وطباعة عناصرها بترتيب محدد (مثل الترتيب الأمامي، أو الترتيب الداخلي، أو الترتيب البعدي).
Which of these is the correct way to define a constructor that takes a string and an integer as arguments in a class named `Person` in Java?
أي من هذه هو الطريقة الصحيحة لتعريف بناء يأخذ سلسلة وعدد صحيح كمعلمات في فئة تسمى `Person` في جافا؟
اختر الإجابة الصحيحةAnonymous voting
- Person(String name, int age) {}
- void Person(String name, int age) {}
- new Person(String name, int age) {}
- Person(String name; int age) {}
Write the code to implement a recursive algorithm to determine whether a given binary tree is a binary search tree.
اكتب الكود لتنفيذ خوارزمية متكررة لتحديد ما إذا كانت شجرة ثنائية معينة هي شجرة بحث ثنائية.
❤ 1
اختر الإجابة الصحيحةAnonymous voting
- public static void main(String[] args)
- public void main(String[] args)
- static public main(String[] args)
- public static main(String args[])
Which of these is a valid declaration of a `main` method in Java?
أي من هذه هو تعريف صالح لطريقة `main` في جافا؟
اختر الإجابة الصحيحةAnonymous voting
- Pauses the loop
- Continues to the next iteration of the loop
- Exits the loop immediately
- Decreases the loop counter by one
What does the `break` statement do in a loop in Java?
ماذا تفعل عبارة `break` في حلقة في جافا؟