cookie

Мы используем файлы cookie для улучшения сервиса. Нажав кнопку «Принять все», вы соглашаетесь с использованием cookies.

avatar

Learn java تعلم جافا

🔹أهلاً بك في قناة برمجة جافا🔹 النجاح ليس بما تكسب ، بل بما تقدم للآخرين. اي سؤال تواصل معي @Mushtak9. Buy ads https://telega.io/c/learn_java_e

Больше
Рекламные посты
6 007
Подписчики
+424 часа
+1027 дней
+14030 дней

Загрузка данных...

Прирост подписчиков

Загрузка данных...

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) {}
0 votes
What is abstraction in Java? ما هو التجريد في جافا؟
Показать все...
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[])
0 votes
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
0 votes
What does the `break` statement do in a loop in Java? ماذا تفعل عبارة `break` في حلقة في جافا؟
Показать все...