جافا Java
Open in Telegram
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Show more6 083
Subscribers
+124 hours
-137 days
-4430 days
Posts Archive
6 083
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);
}
}6 083
What is the primary difference between a 'HashSet' and a 'TreeSet' in Java Collections Framework?
6 083
How do you declare a two-dimensional array in Java?
كيف تعلن عن مصفوفة ثنائية الأبعاد في جافا؟
6 083
What is an infinite loop, and how can it be caused in Java?
ما هو الحلقة اللانهائية، وكيف يمكن أن تسبب في جافا؟
6 083
Write a Java method called 'isEven' that takes an integer as a parameter and returns true if the number is even, and false otherwise.
اكتب طريقة جافا تدعى 'isEven' تأخذ عدد صحيح كمعامل وتعيد true إذا كان العدد زوجيًا، و false خلاف ذلك.
6 083
What is a 'Lambda expression' in Java, and give an example.
ما هو 'تعبير لامبدا' في جافا، وأعط مثالاً.
6 083
In Java, what is the result of assigning a 'null' value to a primitive data type?
6 083
How does a 'for-each' loop differ from a standard 'for' loop in Java?
كيف يختلف حلقة 'for-each' عن حلقة 'for' القياسية في جافا؟
6 083
In Java 8, what is the purpose of the 'default' keyword in interfaces?
6 083
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);6 083
Write a Java program to print all the elements of a two-dimensional integer array named 'matrix'.
اكتب برنامج جافا لطباعة جميع عناصر مصفوفة ثنائية الأبعاد من الأعداد الصحيحة باسم 'matrix'.
