جافا Java
前往频道在 Telegram
6 318
订阅者
-624 小时
-207 天
-6630 天
帖子存档
6 318
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!");
}
}6 318
Which of the following is a valid declaration of a two-dimensional array in Java?
6 318
In Java, which of these keywords is used to inherit methods and properties from a superclass?
6 318
Write a Java method that takes an array of integers and returns the sum of its elements.
اكتب طريقة جافا تأخذ مصفوفة من الأعداد الصحيحة وتعيد مجموع عناصرها.
6 318
What is the output of the following Java code snippet?
String str = "Java";
System.out.println(str.concat("Quiz"));
6 318
Explain the difference between static and non-static methods in Java.
شرح الفرق بين الطرق الثابتة وغير الثابتة في جافا.
6 318
What is a 'Lambda expression' in Java, and give an example.
ما هو 'تعبير لامبدا' في جافا، وأعط مثالاً.
6 318
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);
}
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
