What is the purpose of the `abstract` method in Java?
ما هو الغرض من الدالة `abstract` في جافا؟
#JavaAbstraction #OOP
ما هو الغرض من الدالة `abstract` في جافا؟
#JavaAbstraction #OOP
جافا Java
What is the purpose of the `abstract` method in Java? ما هو الغرض من الدالة `abstract` في جافا؟ #JavaAbstraction #OOP
اختر الإجابة الصحيحة
Anonymous Quiz
16%
To define a method that cannot be called
17%
To create a method with no parameters
59%
To declare a method without implementation that must be overridden in subclasses
8%
To make a method private
🎉3
What is the purpose of the `this` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `this` في جافا؟
#JavaKeywords #OOP
ما هو الغرض من الكلمة المفتاحية `this` في جافا؟
#JavaKeywords #OOP
Write a Java code to print the multiplication table of a given number.
اكتب كود جافا لطباعة جدول الضرب لرقم معين.
#BasicLoops
اكتب كود جافا لطباعة جدول الضرب لرقم معين.
#BasicLoops
👍1
Which of the following is true about Java abstract classes?
أي مما يلي صحيح بخصوص الأصناف المجردة (abstract classes) في جافا؟
#JavaAbstractClasses #OOP
أي مما يلي صحيح بخصوص الأصناف المجردة (abstract classes) في جافا؟
#JavaAbstractClasses #OOP
جافا Java
Which of the following is true about Java abstract classes? أي مما يلي صحيح بخصوص الأصناف المجردة (abstract classes) في جافا؟ #JavaAbstractClasses #OOP
اختر الإجابة الصحيحة
Anonymous Quiz
12%
Abstract classes can be instantiated
30%
Abstract classes must contain only abstract methods
47%
Abstract classes can have both abstract and non-abstract methods
12%
Abstract classes cannot have constructors
👍1
What is the purpose of the 'this' keyword in Java?
ما هو الغرض من الكلمة المفتاحية 'this' في جافا؟
#JavaKeywords #OOP
ما هو الغرض من الكلمة المفتاحية 'this' في جافا؟
#JavaKeywords #OOP
جافا Java
What is the purpose of the 'this' keyword in Java? ما هو الغرض من الكلمة المفتاحية 'this' في جافا؟ #JavaKeywords #OOP
اختر الإجابة الصحيحة
Anonymous Quiz
58%
To refer to the current object instance
19%
To call the superclass constructor
14%
To create a new instance of the class
8%
To access static members of the class
👍1😭1
هذي الفتره ظهرت بوتات التليقرام والتطبيقات اللي تتحول لعمله رقمية
بدات عمله notcoin وبعدها DOGS واليوم نزلت عمله cati للاسف ضيعتها والاسبوع القادم تنزل عمله Hamster
اللي مالحق ولاحدة منهم هذي قائمة ب اشهر البوتات القادمة
Blum
Tomarket
TONKombat
tonxdao
بوت منصة بايننس الرسمية
HOT Wallet
بدات عمله notcoin وبعدها DOGS واليوم نزلت عمله cati للاسف ضيعتها والاسبوع القادم تنزل عمله Hamster
اللي مالحق ولاحدة منهم هذي قائمة ب اشهر البوتات القادمة
Blum
Tomarket
TONKombat
tonxdao
بوت منصة بايننس الرسمية
HOT Wallet
Telegram
Blum
Trade, connect, grow and… farm Blum Points! Made by @blumcrypto team 🌸
Write a Java code to implement a simple todo list using ArrayList.
اكتب كود جافا لتنفيذ قائمة مهام بسيطة باستخدام ArrayList.
#Collections
اكتب كود جافا لتنفيذ قائمة مهام بسيطة باستخدام ArrayList.
#Collections
What is the difference between `ArrayList` and `LinkedList` in Java?
ما هو الفرق بين `ArrayList` و `LinkedList` في جافا؟
#JavaCollections #DataStructures
ما هو الفرق بين `ArrayList` و `LinkedList` في جافا؟
#JavaCollections #DataStructures
جافا Java
What is the difference between `ArrayList` and `LinkedList` in Java? ما هو الفرق بين `ArrayList` و `LinkedList` في جافا؟ #JavaCollections #DataStructures
What is the output of the following code?
ما هو ناتج تنفيذ الكود التالي؟
#JavaOperators #TernaryOperator
int a = 10;
int b = 20;
System.out.println(a > b ? "a is greater" : "b is greater");
ما هو ناتج تنفيذ الكود التالي؟
int a = 10;
int b = 20;
System.out.println(a > b ? "a is greater" : "b is greater");
#JavaOperators #TernaryOperator
👍1
Create a Java program to generate a simple nutrition facts label for a food item.
أنشئ برنامجاً في جافا لإنشاء ملصق حقائق غذائية بسيط لمادة غذائية.
#HealthApplications
أنشئ برنامجاً في جافا لإنشاء ملصق حقائق غذائية بسيط لمادة غذائية.
#HealthApplications
Which of the following is the correct way to declare a multi-dimensional array in Java?
أي مما يلي هو الطريقة الصحيحة لتعريف مصفوفة متعددة الأبعاد في جافا؟
#JavaArrays #MultidimensionalArrays
أي مما يلي هو الطريقة الصحيحة لتعريف مصفوفة متعددة الأبعاد في جافا؟
#JavaArrays #MultidimensionalArrays
جافا Java
Which of the following is the correct way to declare a multi-dimensional array in Java? أي مما يلي هو الطريقة الصحيحة لتعريف مصفوفة متعددة الأبعاد في جافا؟ #JavaArrays #MultidimensionalArrays
اختر الإجابة الصحيحة
Anonymous Quiz
21%
int matrix[][] = new int[][];
29%
int[][] matrix = new int[][];
34%
int matrix[][] = new int[3][3];
16%
int[][] matrix = {1,2,3,4};
❤3
What is the purpose of the `throw` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `throw` في جافا؟
#JavaExceptionHandling #ThrowKeyword
ما هو الغرض من الكلمة المفتاحية `throw` في جافا؟
#JavaExceptionHandling #ThrowKeyword
👍1
جافا Java
What is the purpose of the `throw` keyword in Java? ما هو الغرض من الكلمة المفتاحية `throw` في جافا؟ #JavaExceptionHandling #ThrowKeyword
اختر الإجابة الصحيحة
Anonymous Quiz
22%
To catch exceptions
15%
To define a new exception class
37%
To explicitly throw an exception
27%
To declare that a method might throw an exception
1