جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
Write a Java code to implement a simple music playlist manager.

اكتب كود جافا لتنفيذ مدير قائمة تشغيل موسيقية بسيط.

#SimpleApplications
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
Create a Java program to simulate a simple dice rolling game.

أنشئ برنامجاً في جافا لمحاكاة لعبة رمي النرد البسيطة.

#RandomNumbers
What will be the output of the following code?
int x = 5;
System.out.println(x++ + ++x);

ما هو ناتج تنفيذ الكود التالي؟
int x = 5;
System.out.println(x++ + ++x);

#JavaOperators #IncrementOperators
جافا Java pinned «جمعت كل المواقع اللي فيها تدريبات جافا هنا https://t.me/web_dev0/104»
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
What is the purpose of the `try-catch` block in Java?

ما هو الغرض من كتلة `try-catch` في جافا؟

#JavaExceptionHandling #ErrorHandling
Write a Java code to remove duplicates from an array.

اكتب كود جافا لإزالة العناصر المكررة من مصفوفة.

#ArrayProcessing
What is the difference between `final`, `finally`, and `finalize()` in Java?

ما هو الفرق بين `final`، `finally`، و `finalize()` في جافا؟

#JavaKeywords #ExceptionHandling
Create a Java method to check if a string contains only digits.

أنشئ دالة في جافا للتحقق مما إذا كانت السلسلة النصية تحتوي على أرقام فقط.

#StringValidation
Which collection class should be used if you need to prevent duplicate elements and maintain insertion order?

أي فئة من فئات المجموعات يجب استخدامها إذا كنت بحاجة لمنع العناصر المكررة والحفاظ على ترتيب الإدخال؟

#JavaCollections #DataStructures