ch
Feedback
جافا Java

جافا Java

前往频道在 Telegram

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

显示更多
6 318
订阅者
-624 小时
-207
-6630
帖子存档
In Java, which of the following is a checked exception?
Anonymous voting

Identify and fix the error in the following Java code snippet:
 public class Main {
  public static void Main(String[] args) {
    System.out.println("Hello, world!");
  }
} 
حدد وأصلح الخطأ في قطعة الكود الجافا التالية:
 public class Main {
  public static void Main(String[] args) {
    System.out.println("Hello, world!");
  }
}

Which of the following is a valid declaration of a two-dimensional array in Java?
Anonymous voting

Explain the concept of 'serialization' in Java. شرح مفهوم 'التسلسل' في جافا.

Which of the following is a valid way to create a thread in Java?
Anonymous voting

Explain the concept of 'serialization' in Java. شرح مفهوم 'التسلسل' في جافا.

In Java, which of these keywords is used to inherit methods and properties from a superclass?
Anonymous voting

Write a Java method that takes an array of integers and returns the sum of its elements. اكتب طريقة جافا تأخذ مصفوفة من الأعداد الصحيحة وتعيد مجموع عناصرها.

What is the output of the following Java code snippet? String str = "Java"; System.out.println(str.concat("Quiz"));
Anonymous voting

What is an abstract class in Java? ما هي الفئة المجردة في جافا؟

What does the 'static' keyword in Java signify?
Anonymous voting

Explain the difference between static and non-static methods in Java. شرح الفرق بين الطرق الثابتة وغير الثابتة في جافا.

What is the purpose of the 'transient' keyword in Java?
Anonymous voting

What is a 'Lambda expression' in Java, and give an example. ما هو 'تعبير لامبدا' في جافا، وأعط مثالاً.

How do you access the third element in an array named 'myArray'?
Anonymous voting

What is the use of the 'new' keyword in Java? ما هو استخدام كلمة 'new' في جافا؟

What is 'Stream API' in Java 8 used for?
Anonymous voting

What will be the output of the following Java code snippet?
 String[] animals = {"Dog", "Cat", "Horse"};
for(String animal : animals) {
 System.out.println(animal);
} 
ماذا سيكون مخرجات قطعة الكود الجافا التالية؟
 String[] animals = {"Dog", "Cat", "Horse"};
for(String animal : animals) {
 System.out.println(animal);
}

جافا Java - Telegram 频道 @here_java 的统计与分析