es
Feedback
جافا Java

جافا Java

Ir al canal en Telegram

ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم

Mostrar más
6 160
Suscriptores
-524 horas
-197 días
-7530 días
Archivo de publicaciones
Write a Java method that takes an array of integers and returns the sum of its elements. اكتب طريقة جافا تأخذ مصفوفة من الأعداد الصحيحة وتعيد مجموع عناصرها.

What is the advantage of using a 'PreparedStatement' in JDBC?
Anonymous voting

Describe the concept of 'method overloading' in Java. وصف مفهوم 'تحميل الطريقة' في جافا.

In Java which of these is a correct implementation of the Singleton pattern?
Anonymous voting

In Java, which method is used to find the length of an array? في جافا، أي طريقة تستخدم لإيجاد طول المصفوفة؟

In Java, which of the following is the correct way to declare an array of integers?
Anonymous voting

How do you create an immutable class in Java? كيف تقوم بإنشاء فئة غير قابلة للتغيير في جافا؟

Which of the following is a correct way to instantiate an object in Java?
Anonymous voting

In Java, what is a 'package' and how is it used? في جافا، ما هو 'الحزمة' وكيف يتم استخدامها؟

Which of the following is not an OOP concept in Java?
Anonymous voting

Correct the error in this Java code to swap two integers:
 int a = 10;
int b = 20;
int temp = a;
a = b;
b = temp;
System.out.println("a: " + a + ", b: " + b); 
أصلح الخطأ في هذا الكود الجافا لتبديل عددين صحيحين:
 int a = 10;
int b = 20;
int temp = a;
a = b;
b = temp;
System.out.println("a: " + a + ", b: " + b);

In a Java program, how do you safely stop a thread?
Anonymous voting

Determine the output of this Java code:
 int[] numbers = {1, 2, 3, 4, 5};
for (int i = numbers.length - 1; i >= 0; i--) {
 System.out.print(numbers[i] + "");
} 
حدد مخرجات هذا الكود الجافا:
 int[] numbers = {1, 2, 3, 4, 5};
for (int i = numbers.length - 1; i >= 0; i--) {
 System.out.print(numbers[i] + "");
}

Which method signature correctly overrides the 'equals' method inherited from 'Object' class in Java?
Anonymous voting

Explain the concept of 'class loaders' in Java. شرح مفهوم 'محملات الفئة' في جافا.

Which of these is not a valid Java access modifier?
Anonymous voting

الأسئلة من اليوم بتكون منوعه بين السهل والصعب والمتوسط وانوع مختلفه مثلا اكتب الكود واختار الاجابه الصحيحه....... خلينا نشوف ابداعكم 🔥

Write a Java method named 'add' that takes two integers as parameters and returns their sum. اكتب طريقة جافا بأسم 'add' تأخذ عددين صحيحين كمعاملات وترجع مجموعهم.

What does the 'synchronized' keyword ensure in a multi-threaded environment?
Anonymous voting