Create a Java program to find the intersection of two arrays.
أنشئ برنامجاً في جافا لإيجاد تقاطع مصفوفتين.
#ArrayOperations
أنشئ برنامجاً في جافا لإيجاد تقاطع مصفوفتين.
#ArrayOperations
What is method overloading in Java?
ما هو تحميل الدوال (method overloading) في جافا؟
#JavaMethods #OOP
ما هو تحميل الدوال (method overloading) في جافا؟
#JavaMethods #OOP
اكاديمي بوت
What is method overloading in Java? ما هو تحميل الدوال (method overloading) في جافا؟ #JavaMethods #OOP
Create a Java program to print Pascal's triangle.
أنشئ برنامجاً في جافا لطباعة مثلث باسكال.
#PatternPrinting
أنشئ برنامجاً في جافا لطباعة مثلث باسكال.
#PatternPrinting
1
What is the purpose of the `break` statement in a `switch` block?
ما هو الغرض من عبارة `break` في كتلة `switch`؟
#JavaControlFlow #SwitchStatement
ما هو الغرض من عبارة `break` في كتلة `switch`؟
#JavaControlFlow #SwitchStatement
جافا Java
What is the purpose of the `break` statement in a `switch` block? ما هو الغرض من عبارة `break` في كتلة `switch`؟ #JavaControlFlow #SwitchStatement
اختر الإجابة الصحيحة
Anonymous Quiz
20%
To exit the entire program
20%
To skip to the next case
55%
To end the execution of the switch block
4%
It has no effect in a switch block
What is the purpose of the `super` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `super` في جافا؟
#JavaKeywords #Inheritance
ما هو الغرض من الكلمة المفتاحية `super` في جافا؟
#JavaKeywords #Inheritance
جافا Java
What is the purpose of the `super` keyword in Java? ما هو الغرض من الكلمة المفتاحية `super` في جافا؟ #JavaKeywords #Inheritance
اختر الإجابة الصحيحة
Anonymous Quiz
3%
To refer to the current object
4%
To create a new object
88%
To call the superclass constructor or methods
6%
To access static members
Write a Java code to implement a simple URL shortener.
اكتب كود جافا لتنفيذ مختصر روابط بسيط.
#WebApplications
اكتب كود جافا لتنفيذ مختصر روابط بسيط.
#WebApplications
What is the purpose of the `super` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `super` في جافا؟
#JavaKeywords #Inheritance
ما هو الغرض من الكلمة المفتاحية `super` في جافا؟
#JavaKeywords #Inheritance
جافا Java
What is the purpose of the `super` keyword in Java? ما هو الغرض من الكلمة المفتاحية `super` في جافا؟ #JavaKeywords #Inheritance
اختر الإجابة الصحيحة
Anonymous Quiz
8%
To refer to the current object
7%
To create a new object
80%
To call the superclass constructor or methods
5%
To access static members
What is the purpose of the `final` keyword when applied to a variable in Java?
ما هو الغرض من الكلمة المفتاحية `final` عند تطبيقها على متغير في جافا؟
#JavaKeywords #FinalKeyword
ما هو الغرض من الكلمة المفتاحية `final` عند تطبيقها على متغير في جافا؟
#JavaKeywords #FinalKeyword
جافا Java
What is the purpose of the `final` keyword when applied to a variable in Java? ما هو الغرض من الكلمة المفتاحية `final` عند تطبيقها على متغير في جافا؟ #JavaKeywords #FinalKeyword
اختر الإجابة الصحيحة
Anonymous Quiz
13%
It makes the variable optional
66%
It prevents the variable from being modified after initialization
12%
It makes the variable accessible from other classes
8%
It allows the variable to be used in other methods
🔥3👍1
Write a Java code to implement a simple queue using an array.
اكتب كود جافا لتنفيذ صف بسيط باستخدام مصفوفة.
#DataStructures
اكتب كود جافا لتنفيذ صف بسيط باستخدام مصفوفة.
#DataStructures
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