جافا Java
前往频道在 Telegram
6 085
订阅者
-424 小时
-127 天
-4930 天
帖子存档
6 084
Write a Java code to implement a simple file compression program.
اكتب كود جافا لتنفيذ برنامج ضغط ملفات بسيط.
#FileProcessing
6 084
What is the purpose of the `volatile` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `volatile` في جافا؟
#JavaConcurrency #Multithreading
6 084
What will be the output of the following code?
```java
int x = 5;
System.out.println(x++ + ++x);```
ما هو ناتج تنفيذ الكود التالي؟
```java
int x = 5;
System.out.println(x++ + ++x);```
#JavaOperators #IncrementOperators
6 084
Create a Java program to simulate a simple dice rolling game.
أنشئ برنامجاً في جافا لمحاكاة لعبة رمي النرد البسيطة.
#RandomNumbers
6 084
Which of the following is true about Java's functional interfaces?
أي مما يلي صحيح بخصوص الواجهات الوظيفية (functional interfaces) في جافا؟
#JavaFunctionalProgramming #Interfaces
6 084
What is the purpose of the `this()` call in a constructor?
ما هو الغرض من استدعاء `this()` في المُنشئ؟
#JavaConstructors #OOP
6 084
Write a Java code to implement a simple music playlist manager.
اكتب كود جافا لتنفيذ مدير قائمة تشغيل موسيقية بسيط.
#SimpleApplications
6 084
What is the difference between `==` and `.equals()` when comparing objects in Java?
ما هو الفرق بين `==` و `.equals()` عند مقارنة الكائنات في جافا؟
#JavaComparison #ObjectEquality
6 084
Create a Java program to simulate a simple dice game.
أنشئ برنامجاً في جافا لمحاكاة لعبة نرد بسيطة.
#SimpleGames
6 084
What is the output of the following code?
```java
String str = "Hello";
str.concat(" World");
System.out.println(str);```
ما هو ناتج تنفيذ الكود التالي؟
```java
String str = "Hello";
str.concat(" World");
System.out.println(str);```
#JavaStrings #Immutability
6 084
Create a Java switch statement to print the name of a day based on a number (1-7).
أنشئ عبارة switch في جافا لطباعة اسم اليوم بناءً على رقم (1-7).
#SwitchStatement
