es
Feedback
جافا Java

جافا Java

Ir al canal en Telegram

ليس عيبًا ألا تعرف شيئًا، ولكن العيب انك لا تريد أن تتعلم

Mostrar más
6 318
Suscriptores
-624 horas
-207 días
-6630 días
Archivo de publicaciones
In Java, what is the result of using '==' to compare two strings 'str1' and 'str2'?
Anonymous voting

What is the use of the 'final' keyword when applied to a variable in Java? ما هو استخدام كلمة 'final' عند تطبيقها على متغير في جافا؟

How do you declare a variable in Java?
Anonymous voting

Consider the code:
 class Animal {
 void sound() {
 System.out.println("Animal sound");
 }}
 class Dog extends Animal { 
void sound() { 
System.out.println("Bark");
 }} 
What concept of OOP does this demonstrate? ضع في اعتبارك الكود:
 class Animal {
 void sound() {
 System.out.println("Animal sound");
 }}
 class Dog extends Animal { 
void sound() { 
System.out.println("Bark");
 }} 
ما هو المفهوم الذي يوضحه هذا الكود في البرمجة الشيئية؟

Which of these data types is used to store a single character in Java?
Anonymous voting

What is the purpose of garbage collection in Java, and how does it work? ما هو الغرض من جمع القمامة في جافا، وكيف يعمل؟

What is the main difference between 'throw' and 'throws' in Java?
Anonymous voting

المبرمجين الجدد حملوا النتبينز والجافا بهذي الطريقه واشتركوا بالقناة ممكن تفيدكم https://youtu.be/u-AtTJUHXZ8?si=ZZz67xGX3cnfRGsZ

What is an 'interface' in Java? ما هو 'الواجهة' في جافا؟

What is the default value of an int array in Java?
Anonymous voting

How do you create an immutable class in Java? كيف تقوم بإنشاء فئة غير قابلة للتغيير في جافا؟

In Java, which method is called when an object is created?
Anonymous voting

In Java, what does the 'this' keyword refer to? في جافا، إلى ماذا تشير كلمة 'this'؟

Which Java collection class is typically used for a LIFO (Last-In-First-Out) stack implementation?
Anonymous voting

What will be the output of the following Java code snippet?
 String[] animals = {"Dog", "Cat", "Horse"};
for(String animal : animals) {
 System.out.println(animal);
} 
ماذا سيكون مخرجات قطعة الكود الجافا التالية؟
 String[] animals = {"Dog", "Cat", "Horse"};
for(String animal : animals) {
 System.out.println(animal);
}

Which of the following is a functional interface in Java?
Anonymous voting

Write a Java method that takes an array of integers and returns the sum of its elements. اكتب طريقة جافا تأخذ مصفوفة من الأعداد الصحيحة وتعيد مجموع عناصرها.

What is the advantage of using a 'PreparedStatement' in JDBC?
Anonymous voting

Describe the concept of 'method overloading' in Java. وصف مفهوم 'تحميل الطريقة' في جافا.

In Java which of these is a correct implementation of the Singleton pattern?
Anonymous voting