جافا 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
What is the primary difference between a 'HashSet' and a 'TreeSet' in Java Collections Framework?
Anonymous Quiz
42%
'HashSet' maintains elements in insertion order, while 'TreeSet' sorts the elements
19%
'HashSet' allows duplicate elements, while 'TreeSet' does not
6%
'HashSet' is faster than 'TreeSet'
32%
'HashSet' sorts the elements, while 'TreeSet' maintains the elements in insertion order
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()
How do you initialize an array of 10 integers to zero in Java?
كيف تقوم بتهيئة مصفوفة من 10 أعداد صحيحة إلى صفر في جافا؟
كيف تقوم بتهيئة مصفوفة من 10 أعداد صحيحة إلى صفر في جافا؟
Which collection class in Java is synchronized?
Anonymous Quiz
42%
ArrayList
24%
LinkedList
21%
Vector
14%
HashSet
❤1👍1🔥1
Write a Java method 'multiply' that takes two integers as arguments and returns their product.
اكتب طريقة جافا 'multiply' التي تأخذ عددين صحيحين كمعاملات وترجع حاصل ضربهما.
اكتب طريقة جافا 'multiply' التي تأخذ عددين صحيحين كمعاملات وترجع حاصل ضربهما.
In Java, which keyword is used to inherit features from a class?
Anonymous Quiz
70%
extends
5%
inherits
16%
super
8%
this
How do you ensure a class in Java is not inherited by any other class?
كيف تضمن ألا يتم وراثة فئة في جافا من قبل أي فئة أخرى؟
كيف تضمن ألا يتم وراثة فئة في جافا من قبل أي فئة أخرى؟