جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
What is a 'constructor' in Java?

ما هو 'المنشئ' في جافا؟
What is the output of the following code snippet?
int[] array = {1, 2, 3, 4, 5};
System.out.println(array[3]);
Anonymous Quiz
11%
3
82%
4
3%
5
5%
ArrayIndexOutOfBoundsException
1👍1
What is polymorphism in Java?

ما هو التعدد الشكلي في جافا؟
How do you find the length of an array 'arr' in Java?
Anonymous Quiz
34%
arr.length;
6%
arr.size();
51%
arr.length();
9%
length(arr);
3
What does the 'break' statement do in a loop in Java?

ماذا تفعل عبارة 'break' في حلقة في جافا؟
Which method in the 'Object' class is used to clone an object in Java?
Anonymous Quiz
53%
cloneObject()
10%
copy()
33%
clone()
4%
deepCopy()
In Java, what is a 'package' and how is it used?

في جافا، ما هو 'الحزمة' وكيف يتم استخدامها؟
أعطونا اقتراحاتكم ايش تحبوا اضيف او اذا مواد ثانيه تحبون نحطها
2👍2🎉1
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
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