جافا Java
Kanalga Telegram’da o‘tish
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Ko'proq ko'rsatish6 160
Obunachilar
-524 soatlar
-197 kun
-7530 kun
Postlar arxiv
6 160
Write a Java method that takes an array of integers and returns the sum of its elements.
اكتب طريقة جافا تأخذ مصفوفة من الأعداد الصحيحة وتعيد مجموع عناصرها.
6 160
Describe the concept of 'method overloading' in Java.
وصف مفهوم 'تحميل الطريقة' في جافا.
6 160
In Java which of these is a correct implementation of the Singleton pattern?
6 160
In Java, which method is used to find the length of an array?
في جافا، أي طريقة تستخدم لإيجاد طول المصفوفة؟
6 160
In Java, which of the following is the correct way to declare an array of integers?
6 160
How do you create an immutable class in Java?
كيف تقوم بإنشاء فئة غير قابلة للتغيير في جافا؟
6 160
Which of the following is a correct way to instantiate an object in Java?
6 160
In Java, what is a 'package' and how is it used?
في جافا، ما هو 'الحزمة' وكيف يتم استخدامها؟
6 160
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);6 160
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] + "");
}6 160
Which method signature correctly overrides the 'equals' method inherited from 'Object' class in Java?
6 160
الأسئلة من اليوم بتكون منوعه بين السهل والصعب والمتوسط وانوع مختلفه مثلا اكتب الكود واختار الاجابه الصحيحه.......
خلينا نشوف ابداعكم 🔥
6 160
Write a Java method named 'add' that takes two integers as parameters and returns their sum.
اكتب طريقة جافا بأسم 'add' تأخذ عددين صحيحين كمعاملات وترجع مجموعهم.
6 160
What does the 'synchronized' keyword ensure in a multi-threaded environment?
