What is the output of the following code?
ما هو ناتج تنفيذ الكود التالي؟
#JavaArrays #ExceptionHandling
int[] numbers = {1, 2, 3, 4, 5};
System.out.println(numbers[5]);ما هو ناتج تنفيذ الكود التالي؟
int[] numbers = {1, 2, 3, 4, 5};
System.out.println(numbers[5]);#JavaArrays #ExceptionHandling
👍2
Which collection class should be used if you need to maintain the insertion order of elements?
أي فئة من فئات المجموعات (collections) يجب استخدامها إذا كنت بحاجة للحفاظ على ترتيب إدخال العناصر؟
#JavaCollections #DataStructures
أي فئة من فئات المجموعات (collections) يجب استخدامها إذا كنت بحاجة للحفاظ على ترتيب إدخال العناصر؟
#JavaCollections #DataStructures
Write a Java code to implement a simple calculator using switch case.
اكتب كود جافا لتنفيذ آلة حاسبة بسيطة باستخدام switch case.
#ControlFlow
اكتب كود جافا لتنفيذ آلة حاسبة بسيطة باستخدام switch case.
#ControlFlow
What is the difference between `==` and `.equals()` when comparing objects in Java?
ما هو الفرق بين `==` و `.equals()` عند مقارنة الكائنات في جافا؟
#JavaComparison #ObjectEquality
ما هو الفرق بين `==` و `.equals()` عند مقارنة الكائنات في جافا؟
#JavaComparison #ObjectEquality
جافا Java
What is the difference between `==` and `.equals()` when comparing objects in Java? ما هو الفرق بين `==` و `.equals()` عند مقارنة الكائنات في جافا؟ #JavaComparison #ObjectEquality
What is the purpose of the `transient` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `transient` في جافا؟
#JavaSerialization #OOP
ما هو الغرض من الكلمة المفتاحية `transient` في جافا؟
#JavaSerialization #OOP
1👍1
جافا Java
What is the purpose of the `transient` keyword in Java? ما هو الغرض من الكلمة المفتاحية `transient` في جافا؟ #JavaSerialization #OOP
Write a Java code to implement a simple address book using HashMap.
اكتب كود جافا لتنفيذ دفتر عناوين بسيط باستخدام HashMap.
#Collections
اكتب كود جافا لتنفيذ دفتر عناوين بسيط باستخدام HashMap.
#Collections
What is the difference between `throw` and `throws` in Java?
ما هو الفرق بين `throw` و `throws` في جافا؟
#JavaExceptionHandling #Syntax
ما هو الفرق بين `throw` و `throws` في جافا؟
#JavaExceptionHandling #Syntax
جافا Java
What is the difference between `throw` and `throws` in Java? ما هو الفرق بين `throw` و `throws` في جافا؟ #JavaExceptionHandling #Syntax
What is the purpose of the `continue` statement in Java?
ما هو الغرض من عبارة `continue` في جافا؟
#JavaControlFlow #LoopControl
ما هو الغرض من عبارة `continue` في جافا؟
#JavaControlFlow #LoopControl
جافا Java
What is the purpose of the `continue` statement in Java? ما هو الغرض من عبارة `continue` في جافا؟ #JavaControlFlow #LoopControl
اختر الإجابة الصحيحة
Anonymous Quiz
9%
To exit a loop
69%
To skip the rest of the current iteration and move to the next one
17%
To restart the entire loop
6%
To pause the execution of the program
❤1
Write a Java code to implement a simple ATM machine simulation.
اكتب كود جافا لتنفيذ محاكاة بسيطة لماكينة صراف آلي.
#SimpleApplications
اكتب كود جافا لتنفيذ محاكاة بسيطة لماكينة صراف آلي.
#SimpleApplications
What is the purpose of the `implements` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `implements` في جافا؟
#JavaInterfaces #OOP
ما هو الغرض من الكلمة المفتاحية `implements` في جافا؟
#JavaInterfaces #OOP
What is the difference between `break` and `continue` statements in Java?
ما هو الفرق بين عبارتي `break` و `continue` في جافا؟
#JavaControlFlow #Loops
ما هو الفرق بين عبارتي `break` و `continue` في جافا؟
#JavaControlFlow #Loops
جافا Java
What is the difference between `break` and `continue` statements in Java? ما هو الفرق بين عبارتي `break` و `continue` في جافا؟ #JavaControlFlow #Loops
Create a simple Java class with a constructor and one method.
أنشئ صنفاً بسيطاً في جافا يحتوي على مُنشئ ودالة واحدة.
#ClassCreation
أنشئ صنفاً بسيطاً في جافا يحتوي على مُنشئ ودالة واحدة.
#ClassCreation