جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
بوت تليقرام العاب ويمكن تتحول النقاط اللي فيه الى عملات مشفره بالمستقبل جربوه
https://t.me/theYescoin_bot
What is the output of the following Java code snippet?

int a = 9, b = 4;
if (a > 10) {
b = b + 1;
} else {
b = b - 1;
}
System.out.println(b);

ما هو الإخراج من مقتطف الكود جافا التالي؟

int a = 9, b = 4;
if (a > 10) {
b = b + 1;
} else {
b = b - 1;
}
System.out.println(b);
Which operator is used to compare two values for equality in Java?

أي المشغلين يستخدم لمقارنة قيمتين للمساواة في جافا؟
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.

اكتب الكود لتنفيذ بنية بيانات الطابور باستخدام مصفوفة أو قائمة مترابطة، بما في ذلك طرق لإضافة، وإزالة، واستعراض العناصر.