Learn java تعلم جافا
🔹أهلاً بك في قناة برمجة جافا🔹 النجاح ليس بما تكسب ، بل بما تقدم للآخرين. اي سؤال تواصل معي @Mushtak9. Buy ads https://telega.io/c/learn_java_e
Mostrar más5 881Suscriptores
+824 hours
+87 days
+630 days
- Suscriptores
- Cobertura postal
- ER - ratio de compromiso
Carga de datos en curso...
Tasa de crecimiento de suscriptores
Carga de datos en curso...
اختر الإجابة الصحيحةAnonymous voting
- try-catch block
- throw-catch block
- error-catch block
- try-throw block
How do you handle an exception in Java?
كيف تتعامل مع استثناء في جافا؟
Write the code to implement a recursive algorithm to find the sum of all elements in a binary tree.
اكتب الكود لتنفيذ خوارزمية متكررة لإيجاد مجموع جميع العناصر في شجرة ثنائية.
اختر الإجابة الصحيحةAnonymous voting
- To reuse code
- To divide a complex problem into simpler ones
- To prevent other classes from accessing private fields
- To enhance the readability of the code
Which of these is not a valid reason for using methods in Java?
أي من هذه ليس سببًا صالحًا لاستخدام الطرق في جافا؟
Which of these keywords is used to define a variable that cannot be modified?
أي من هذه الكلمات الرئيسية تستخدم لتعريف متغير لا يمكن تعديله؟
Write the code to define a static method 'calculateAverage()' that takes an array of integers and returns their average in Java.
اكتب الكود لتعريف طريقة ثابتة 'calculateAverage()' تأخذ مصفوفة من الأعداد الصحيحة وتعيد متوسطها في جافا.
اختر الإجابة الصحيحةAnonymous voting
- array
- Array
- []
- There is no specific keyword; use the data type followed by []
❤ 2
Which keyword is used to declare an array in Java?
أي كلمة مفتاحية تستخدم لتعريف مصفوفة في جافا؟