جافا Java
6.46K subscribers
212 photos
18 videos
81 files
269 links
ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم
Download Telegram
What will be the output of the following Java code snippet that demonstrates the use of the 'instanceof' keyword?

class Parent {}
class Child extends Parent {}
public class Test {
public static void main(String[] args) {
Parent obj = new Child();
System.out.println(obj instanceof Child);
}
}



ماذا سيكون المخرج للشفرة البرمجية جافا التالية التي توضح استخدام كلمة 'instanceof'؟
2
Which of the following is not an access modifier in Java?
Anonymous Quiz
15%
public
5%
protected
19%
private
61%
friend
What is the output of the following Java program that demonstrates method overloading?

class DisplayOverloading {
public void disp(char c) {
System.out.println(c);
}
public void disp(char c, int num) {
System.out.println(c + " " + num);
}
}
public class Sample {
public static void main(String[] args) {
DisplayOverloading obj = new DisplayOverloading();
obj.disp('a');
obj.disp('a', 10);
}
}



ما هو مخرج البرنامج جافا التالي الذي يوضح إعادة تحميل الطريقة؟
1
Write the code to create a program that reads a CSV file containing student information (name, age, grade) and calculates the average grade for each age group.

اكتب الكود لإنشاء برنامج يقرأ ملف CSV يحتوي على معلومات الطالب (الاسم، العمر، الدرجة) ويحسب متوسط الدرجة لكل فئة عمرية.
👍1
Write the code to implement a recursive algorithm to find the nth Fibonacci number.

اكتب الكود لتنفيذ خوارزمية متكررة لإيجاد الرقم الفيبوناتشي الـ nth.
Write the code to create a program that simulates a simple patient management system for a healthcare facility, allowing users to add patients, schedule appointments, and track medical records.

اكتب الكود لإنشاء برنامج يحاكي نظام إدارة المرضى البسيط لمرفق رعاية صحية، ويسمح للمستخدمين بإضافة المرضى، وجدولة المواعيد، وتتبع السجلات الطبية.
Write the code to implement a recursive algorithm to flatten a nested list (a list containing other lists) into a single list.

اكتب الكود لتنفيذ خوارزمية متكررة لتسطيح قائمة متداخلة (قائمة تحتوي على قوائم أخرى) إلى قائمة واحدة.
Write the code to implement a hash table data structure, including methods to insert, search, and remove key-value pairs.

اكتب الكود لتنفيذ بنية بيانات جدول التجزئة، بما في ذلك طرق لإدراج، والبحث، وإزالة أزواج المفتاح-القيمة.
1
جافا Java pinned «مجموعة من المواقع الرائعة التي يمكن للمبرمجين الاستفادة منها لتطوير مهاراتهم وإنجاز مشاريعهم»
Write the code to create an array of integers and initialize it with values in Java.

اكتب الكود لإنشاء مصفوفة من الأعداد الصحيحة وتهيئتها بقيم في جافا.
👍1
اعطونا رأيكم بهذي القناه الجديدة
https://t.me/web_dev0
جافا Java pinned «اعطونا رأيكم بهذي القناه الجديدة https://t.me/web_dev0»
Write the code to implement a simple 'if-else' statement to check if a number is positive or negative in Java.

اكتب الكود لتنفيذ جملة 'if-else' بسيطة للتحقق مما إذا كان الرقم موجبًا أم سالبًا في جافا.
Write the code to define an interface 'Drawable' with a method 'draw()' and implement it in a class 'Circle' in Java.

اكتب الكود لتعريف واجهة 'Drawable' مع طريقة 'draw()' وتنفيذها في فئة 'Circle' في جافا.
👍2
Write the code to implement a stack data structure using an array or a linked list, including methods to push, pop, and peek elements.

اكتب الكود لتنفيذ بنية بيانات المكدس باستخدام مصفوفة أو قائمة مترابطة، بما في ذلك طرق لدفع، وسحب، واستعراض العناصر.
تقبل الله صيامكم وقيامكم وصالح الأعمال، عيدكم مبارك وكل عام وأنتم بخير وصحة وعافية، أنتم ومن تحبون جميعًا بإذن الله تعالى.🥳🥳❤️
Please open Telegram to view this post
VIEW IN TELEGRAM
10🎉3❤‍🔥1👍1