جافا Java
Открыть в Telegram
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Больше6 320
Подписчики
-324 часа
-127 дней
-6030 день
Архив постов
6 318
How can you call a method named `calculateSum` that takes two integers as parameters and returns an integer?
6 318
What is the output of the following Java code snippet?
```java
int a = 9, b = 4; if (a > 10) { b = b + 1; } else { b = b - 1; } System.out.println(b); ```
6 318
In Java, what is a 'stream' and how is it typically used?
في جافا، ما هو 'تيار' وكيف يستخدم عادة؟
6 318
What will the following Java code snippet print?
```java
int[] numbers = {1, 2, 3, 4, 5}; for(int i : numbers) { System.out.print(i + " "); } ```
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
How do you declare a method in Java that takes an integer as input and returns an integer?
6 318
What is the purpose of a constructor in a Java class?
ما هو الغرض من منشئ في فئة جافا؟
6 318
How do you ensure a class in Java is not inherited by any other class?
كيف تضمن ألا يتم وراثة فئة في جافا من قبل أي فئة أخرى؟
6 318
Write a Java method 'multiply' that takes two integers as arguments and returns their product.
اكتب طريقة جافا 'multiply' التي تأخذ عددين صحيحين كمعاملات وترجع حاصل ضربهما.
6 318
How do you initialize an array of 10 integers to zero in Java?
كيف تقوم بتهيئة مصفوفة من 10 أعداد صحيحة إلى صفر في جافا؟
Уже доступно! Исследование Telegram 2025 — ключевые инсайты года 
