جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
What is the base class of all exceptions in Java?
Anonymous Quiz
18%
RuntimeException
14%
Error
25%
Throwable
43%
Exception
1
Explain the concept of encapsulation in Java.

شرح مفهوم التغليف في جافا.
Which interface must a class implement to be used in a 'for-each' loop in Java?
Anonymous Quiz
45%
Iterable
25%
Collection
27%
List
3%
Enumerator
1
Write a Java program to print all the elements of a two-dimensional integer array named 'matrix'.

اكتب برنامج جافا لطباعة جميع عناصر مصفوفة ثنائية الأبعاد من الأعداد الصحيحة باسم 'matrix'.
What is the result of the following code snippet?
 int x = 5;
int y = 10;
System.out.println(x > 6 || y <= 10);


ما هو نتيجة قطعة الكود التالية؟
 int x = 5;
int y = 10;
System.out.println(x > 6 || y <= 10);
How does a 'for-each' loop differ from a standard 'for' loop in Java?

كيف يختلف حلقة 'for-each' عن حلقة 'for' القياسية في جافا؟
1
In Java, what is the result of assigning a 'null' value to a primitive data type?
Anonymous Quiz
25%
Compilation error
40%
NullPointerException
14%
Runtime error
20%
None of the above
جافا Java pinned «احتاج مجموعة تجرب معي هذا البوت اللي فاضي يرسل لي @Mushtak9»
What is an infinite loop, and how can it be caused in Java?

ما هو الحلقة اللانهائية، وكيف يمكن أن تسبب في جافا؟
How do you declare a two-dimensional array in Java?

كيف تعلن عن مصفوفة ثنائية الأبعاد في جافا؟
This media is not supported in your browser
VIEW IN TELEGRAM
أخيرا البوت صار جاهز وفيه عده مواد اسئله اختبارات على شكل مسابقه جربوه واعطونا التقيم
@CodesBattlebot
👍6
What is the output of the following Java code?
 for(int i = 0; i < 5; i++) {
if(i % 2 == 0) {
System.out.println(i);
}
}


ما هو مخرجات الكود الجافا التالي؟
 for(int i = 0; i < 5; i++) {
if(i % 2 == 0) {
System.out.println(i);
}
}
Which loop is best suited for iterating through an array in Java?
Anonymous Quiz
59%
for loop
10%
while loop
5%
do-while loop
27%
all of the above