جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
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
Determine the output of this Java code:
 int[] numbers = {1, 2, 3, 4, 5};
for (int i = numbers.length - 1; i >= 0; i--) {
System.out.print(numbers[i] + "");
}


حدد مخرجات هذا الكود الجافا:
 int[] numbers = {1, 2, 3, 4, 5};
for (int i = numbers.length - 1; i >= 0; i--) {
System.out.print(numbers[i] + "");
}
What is the correct way to declare a method in Java?
Anonymous Quiz
28%
function methodName()
1%
let methodName()
15%
methodName function()
56%
void methodName()