Learn java تعلم جافا
🔹أهلاً بك في قناة برمجة جافا🔹 النجاح ليس بما تكسب ، بل بما تقدم للآخرين. اي سؤال تواصل معي @Mushtak9. Buy ads https://telega.io/c/learn_java_e
Show more5 878Subscribers
+324 hours
+127 days
+530 days
- Subscribers
- Post coverage
- ER - engagement ratio
Data loading in progress...
Subscriber growth rate
Data loading in progress...
Which keyword is used to define a class in Java?
أي كلمة مفتاحية تستخدم لتعريف فئة في جافا؟
اختر الإجابة الصحيحة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()' تأخذ مصفوفة من الأعداد الصحيحة وتعيد متوسطها في جافا.