Create a Java switch statement to print the name of a day based on a number (1-7).
أنشئ عبارة switch في جافا لطباعة اسم اليوم بناءً على رقم (1-7).
#SwitchStatement
أنشئ عبارة switch في جافا لطباعة اسم اليوم بناءً على رقم (1-7).
#SwitchStatement
What is the output of the following code?
ما هو ناتج تنفيذ الكود التالي؟
#JavaStrings #Immutability
String str = "Hello";
str.concat(" World");
System.out.println(str);
ما هو ناتج تنفيذ الكود التالي؟
String str = "Hello";
str.concat(" World");
System.out.println(str);
#JavaStrings #Immutability
👍1
What is the difference between `==` and `.equals()` when comparing objects in Java?
ما هو الفرق بين `==` و `.equals()` عند مقارنة الكائنات في جافا؟
#JavaComparison #ObjectEquality
ما هو الفرق بين `==` و `.equals()` عند مقارنة الكائنات في جافا؟
#JavaComparison #ObjectEquality
جافا Java
What is the difference between `==` and `.equals()` when comparing objects in Java? ما هو الفرق بين `==` و `.equals()` عند مقارنة الكائنات في جافا؟ #JavaComparison #ObjectEquality
Write a Java code to implement a simple music playlist manager.
اكتب كود جافا لتنفيذ مدير قائمة تشغيل موسيقية بسيط.
#SimpleApplications
اكتب كود جافا لتنفيذ مدير قائمة تشغيل موسيقية بسيط.
#SimpleApplications
What is the purpose of the `this()` call in a constructor?
ما هو الغرض من استدعاء `this()` في المُنشئ؟
#JavaConstructors #OOP
ما هو الغرض من استدعاء `this()` في المُنشئ؟
#JavaConstructors #OOP
جافا Java
What is the purpose of the `this()` call in a constructor? ما هو الغرض من استدعاء `this()` في المُنشئ؟ #JavaConstructors #OOP
Which of the following is true about Java's functional interfaces?
أي مما يلي صحيح بخصوص الواجهات الوظيفية (functional interfaces) في جافا؟
#JavaFunctionalProgramming #Interfaces
أي مما يلي صحيح بخصوص الواجهات الوظيفية (functional interfaces) في جافا؟
#JavaFunctionalProgramming #Interfaces
جافا Java
Which of the following is true about Java's functional interfaces? أي مما يلي صحيح بخصوص الواجهات الوظيفية (functional interfaces) في جافا؟ #JavaFunctionalProgramming #Interfaces
Create a Java program to simulate a simple dice rolling game.
أنشئ برنامجاً في جافا لمحاكاة لعبة رمي النرد البسيطة.
#RandomNumbers
أنشئ برنامجاً في جافا لمحاكاة لعبة رمي النرد البسيطة.
#RandomNumbers
What will be the output of the following code?
ما هو ناتج تنفيذ الكود التالي؟
#JavaOperators #IncrementOperators
int x = 5;
System.out.println(x++ + ++x);
ما هو ناتج تنفيذ الكود التالي؟
int x = 5;
System.out.println(x++ + ++x);
#JavaOperators #IncrementOperators
جمعت كل المواقع اللي فيها تدريبات جافا هنا
https://t.me/web_dev0/104
https://t.me/web_dev0/104
Telegram
قهوة مبرمجين
🏆 أفضل مواقع التحديات البرمجية لمطوري Java
🚀 ارتقِ بمهاراتك البرمجية عبر هذه المنصات الرائدة
💻 Edabit
📚 تحديات برمجية تفاعلية
- تحديات متدرجة الصعوبة لجميع المستويات
- دعم قوي للغة Java وغيرها من اللغات البرمجية
🍳 CodeChef
🏆 مسابقات برمجة…
🚀 ارتقِ بمهاراتك البرمجية عبر هذه المنصات الرائدة
💻 Edabit
📚 تحديات برمجية تفاعلية
- تحديات متدرجة الصعوبة لجميع المستويات
- دعم قوي للغة Java وغيرها من اللغات البرمجية
🍳 CodeChef
🏆 مسابقات برمجة…
👍3
What is the purpose of the `volatile` keyword in Java?
ما هو الغرض من الكلمة المفتاحية `volatile` في جافا؟
#JavaConcurrency #Multithreading
ما هو الغرض من الكلمة المفتاحية `volatile` في جافا؟
#JavaConcurrency #Multithreading
جافا Java
What is the purpose of the `volatile` keyword in Java? ما هو الغرض من الكلمة المفتاحية `volatile` في جافا؟ #JavaConcurrency #Multithreading
Write a Java code to implement a simple file compression program.
اكتب كود جافا لتنفيذ برنامج ضغط ملفات بسيط.
#FileProcessing
اكتب كود جافا لتنفيذ برنامج ضغط ملفات بسيط.
#FileProcessing
What is the purpose of the `try-catch` block in Java?
ما هو الغرض من كتلة `try-catch` في جافا؟
#JavaExceptionHandling #ErrorHandling
ما هو الغرض من كتلة `try-catch` في جافا؟
#JavaExceptionHandling #ErrorHandling