In Java, what is a 'package' and how is it used?
في جافا، ما هو 'الحزمة' وكيف يتم استخدامها؟
في جافا، ما هو 'الحزمة' وكيف يتم استخدامها؟
What will be the result of trying to access an index outside the bounds of an array?
Anonymous Quiz
58%
ArrayIndexOutOfBoundsException
23%
IndexOutOfBoundsException
12%
NullPointerException
7%
No exception is thrown
How do you declare a two-dimensional array in Java?
كيف تعلن عن مصفوفة ثنائية الأبعاد في جافا؟
كيف تعلن عن مصفوفة ثنائية الأبعاد في جافا؟
What is the base class of all exceptions in Java?
Anonymous Quiz
18%
RuntimeException
14%
Error
25%
Throwable
43%
Exception
❤1
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'.
اكتب برنامج جافا لطباعة جميع عناصر مصفوفة ثنائية الأبعاد من الأعداد الصحيحة باسم 'matrix'.
Which statement creates a new array in Java?
Anonymous Quiz
65%
int[] array = new int[5];
10%
int array = new int[5];
21%
int[] array = {1, 2, 3, 4, 5};
4%
array[] = new int[5];
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);
In Java 8, what is the purpose of the 'default' keyword in interfaces?
Anonymous Quiz
43%
To define a default implementation of a method
21%
To set default values for variables
15%
To indicate default access modifier
21%
To create default methods that must be overridden
How does a 'for-each' loop differ from a standard 'for' loop in Java?
كيف يختلف حلقة 'for-each' عن حلقة 'for' القياسية في جافا؟
كيف يختلف حلقة '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
أعطونا اقتراحاتكم ايش تحبوا اضيف او اذا مواد ثانيه تحبون نحطها
احتاج مجموعة تجرب معي هذا البوت اللي فاضي يرسل لي @Mushtak9
What is 'autoboxing' in Java?
Anonymous Quiz
41%
Automatically converting a primitive data type into its corresponding wrapper class
29%
Automatically converting an object into its corresponding primitive data type
16%
A feature of OOP to encapsulate and hide data
14%
A technique for memory management in arrays
What is an infinite loop, and how can it be caused in Java?
ما هو الحلقة اللانهائية، وكيف يمكن أن تسبب في جافا؟
ما هو الحلقة اللانهائية، وكيف يمكن أن تسبب في جافا؟
What does the 'volatile' keyword in Java ensure?
Anonymous Quiz
39%
The variable can be accessed by multiple threads simultaneously
21%
The variable will be stored in the CPU cache for faster access
11%
Changes to the variable are visible to all threads
29%
The variable is not cached, and its value is always read from the main memory
How do you declare a two-dimensional array in Java?
كيف تعلن عن مصفوفة ثنائية الأبعاد في جافا؟
كيف تعلن عن مصفوفة ثنائية الأبعاد في جافا؟
This media is not supported in your browser
VIEW IN TELEGRAM
أخيرا البوت صار جاهز وفيه عده مواد اسئله اختبارات على شكل مسابقه جربوه واعطونا التقيم
@CodesBattlebot
@CodesBattlebot
👍6