جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
Write the code to calculate the sum of two integer variables in Java.

اكتب الكود لحساب مجموع متغيرين صحيحين في جافا.
Which of the following correctly describes the `static` keyword in Java?

أي من الأتي يصف بشكل صحيح الكلمة الرئيسية `static` في جافا؟
What keyword is used to access a method or variable from the superclass in a subclass?

أي كلمة مفتاحية تستخدم للوصول إلى طريقة أو متغير من الفئة الأساسية في الفئة الفرعية؟
👍1
How do you declare a method that does not return any value?

كيف تعلن عن طريقة لا تعيد أي قيمة؟
Write the code to implement inheritance by creating a subclass 'Circle' that extends the 'Shape' class in Java.

اكتب الكود لتنفيذ الوراثة عن طريق إنشاء فئة فرعية 'Circle' تمتد من فئة 'Shape' في جافا.
What will the following Java code snippet print?

 
int[] numbers = {1, 2, 3, 4, 5};
for(int i : numbers) {
System.out.print(i + " ");
}

ماذا سيطبع مقتطف الكود جافا التالي؟

int[] numbers = {1, 2, 3, 4, 5};
for(int i : numbers) {
System.out.print(i + " ");
}

StormTrade
اتخيلوا هذي اللعبة على تليقرام وصل متابعين قناتهم على اليوتيوب باسبوع 13 مليون وقناة التليقرام 24 مليون نصيحة حولوا تتعرفون على تطبيقات تليقرام وكيف تبرمج لانها انتشرت بقوه
How do you increment a variable `x` by 1 in Java?

كيف تزيد متغير `x` بمقدار 1 في جافا؟
Write the code to implement a queue data structure using an array or a linked list, including methods to enqueue, dequeue, and peek elements.

اكتب الكود لتنفيذ بنية بيانات الطابور باستخدام مصفوفة أو قائمة مترابطة، بما في ذلك طرق لإضافة، وإزالة، واستعراض العناصر.
What does the `this` keyword refer to in Java?

ماذا يشير الكلمة الرئيسية `this` في جافا؟
Which of the following is an unchecked exception in Java?

أي من الأتي هو استثناء غير مدقق في جافا؟