Which of the following is not a principle of Object-Oriented Programming?
أي من الأتي ليس مبدأً في البرمجة الشيئية؟
أي من الأتي ليس مبدأً في البرمجة الشيئية؟
What is the default value of a static integer variable in Java?
ما هي القيمة الافتراضية لمتغير صحيح ثابت في جافا؟
ما هي القيمة الافتراضية لمتغير صحيح ثابت في جافا؟
Write the code to implement a simple 'if-else' statement to check if a number is positive or negative in Java.
اكتب الكود لتنفيذ جملة 'if-else' بسيطة للتحقق مما إذا كان الرقم موجبًا أم سالبًا في جافا.
اكتب الكود لتنفيذ جملة 'if-else' بسيطة للتحقق مما إذا كان الرقم موجبًا أم سالبًا في جافا.
Which of the following is a valid declaration of a method that returns an array of integers in Java?
أي من الأتي هو تعريف صالح لطريقة تعيد مصفوفة من الأعداد الصحيحة في جافا؟
أي من الأتي هو تعريف صالح لطريقة تعيد مصفوفة من الأعداد الصحيحة في جافا؟
جافا Java
Which of the following is a valid declaration of a method that returns an array of integers in Java? أي من الأتي هو تعريف صالح لطريقة تعيد مصفوفة من الأعداد الصحيحة في جافا؟
اختر الإجابة الصحيحة
Anonymous Quiz
67%
public int[] getNumbers() {}
17%
public int getNumbers[]() {}
10%
int[] public getNumbers() {}
6%
getNumbers()[] int public {}
❤2🔥1
Which of the following correctly declares an array of integers in Java?
أي من الأتي يعلن بشكل صحيح عن مصفوفة من الأعداد الصحيحة في جافا؟
أي من الأتي يعلن بشكل صحيح عن مصفوفة من الأعداد الصحيحة في جافا؟
Write the code to create a program that reads a CSV file containing student information (name, age, grade) and calculates the average grade for each age group.
اكتب الكود لإنشاء برنامج يقرأ ملف CSV يحتوي على معلومات الطالب (الاسم، العمر، الدرجة) ويحسب متوسط الدرجة لكل فئة عمرية.
اكتب الكود لإنشاء برنامج يقرأ ملف CSV يحتوي على معلومات الطالب (الاسم، العمر، الدرجة) ويحسب متوسط الدرجة لكل فئة عمرية.
What will the following code snippet print?
ماذا سيطبع مقتطف الكود التالي؟
if (false) {
System.out.println("True");
} else {
System.out.println("False");
}
ماذا سيطبع مقتطف الكود التالي؟
if (false) {
System.out.println("True");
} else {
System.out.println("False");
}
جافا Java
What will the following code snippet print? if (false) { System.out.println("True"); } else { System.out.println("False"); } ماذا سيطبع مقتطف الكود التالي؟ if (false) { System.out.println("True"); } else { System.out.println("False");…
اختر الإجابة الصحيحة
Anonymous Quiz
24%
"True"
41%
"False"
22%
Nothing, it will cause a compile-time error
12%
Nothing, it will cause a runtime error
❤1
👍2
What is the correct syntax to declare a class named 'Vehicle' in Java?
ما هو الصيغة الصحيحة لتعريف فئة تسمى 'Vehicle' في جافا؟
ما هو الصيغة الصحيحة لتعريف فئة تسمى 'Vehicle' في جافا؟