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
What is the output of the following code?
int x = 7;
int y = 2;
System.out.println(x / y);
A) 3 B) 3.5 C) 4 D) 4.5 ترجمة السؤال: ما هو الناتج من الشفرة التالية؟
int x = 7;
int y = 2;
System.out.println(x / y);
أ) 3 ب) 3.5 ج) 4 د) 4.5 لا تقم بالإجابة عليها

What is the output of the following code?
int x = 10;
int y = 5;
System.out.println(x > y);
A) true B) false C) 10 > 5 D) 1 ترجمة السؤال: ما هو الناتج الناتج للكود التالي؟
int x = 10;
int y = 5;
System.out.println(x > y);
أ) صحيح (true) ب) خاطئ (false) ج) 10 > 5 د) لا تقم بالإجابة عليه

What is the output of the following code?
int a = 5;
int b = 3;
System.out.println(a % b);
A) 2 B) 1 C) 3 D) 0 ترجمة السؤال: ما هو الناتج الناتج من الكود التالي؟
int a = 5;
int b = 3;
System.out.println(a % b);
أ) 2 ب) 1 ج) 3 د) 0لا تقم بالإجابة عليها

Here's a Java quiz question for you: Question: What is the output of the following code snippet?
int x = 5;
int y = 10;
int z = x + y;
System.out.println(z);
A) 5 B) 10 C) 15 D) 20 Please select the correct option (A, B, C, or D) and let me know your answer. ترجمة السؤال: سؤال: ما هو الناتج من مقطع الشفرة التالي؟
int x = 5;
int y = 10;
int z = x + y;
System.out.println(z);
أ) 5 ب) 10 ج) 15 د) 20 يرجى اختيار الخيار الصحيح (أ، ب، ج، أو د) وإعلامي بإجابتك.

Here's a Java quiz question for you: Question: What is the output of the following code snippet?
int x = 5;
int y = 2;
double result = x / y;
System.out.println(result);
A) 2.5 B) 2.0 C) 2 D) 2.6666666666666665 Please select the correct option (A, B, C, or D). ترجمة السؤال: هنا سؤال مسابقة في جافا لك: السؤال: ما هو الناتج للشيفرة التالية؟
int x = 5;
int y = 2;
double result = x / y;
System.out.println(result);
أ) 2.5 ب) 2.0 ج) 2 د) 2.6666666666666665 يرجى اختيار الإجابة الصحيحة (أ، ب، ج، أو د).

الكود صح او خطأ مع السبب
الكود صح او خطأ مع السبب

اللي يقولون 🙂 ممكن تشاركون الرابط https://t.me/learn_java_s واللي قالوا 👎ممكن ملاحظاتك

Here's a Java quiz question for you: Topic: Java Basics Difficulty: Easy Question: What is the output of the following code snippet?
int x = 5;
int y = 2;
int result = x + y * 2;
System.out.println(result);
a) 7 b) 9 c) 12 d) 14 Please select the correct option (a, b, c, or d) and let me know your answer. ترجمة السؤال: هنا سؤال مسابقة في جافا لك: الموضوع: أساسيات جافا الصعوبة: سهلة السؤال: ما هو الناتج من مقتطف الكود التالي؟
int x = 5;
int y = 2;
int result = x + y * 2;
System.out.println(result);
أ) 7 ب) 9 ج) 12 د) 14 يرجى اختيار الخيار الصحيح (أ، ب، ج، أو د) وإعلامي بإجابتك.

ايش رأيكم بالأسئلة؟
Anonymous voting

Here's a Java quiz question for you: Question: What is the output of the following code snippet?
public class QuizQuestion {
   public static void main(String[] args) {
      int x = 5;
      int y = 2;
      int result = x / y;
      System.out.println(result);
   }
}
a) 2.5 b) 2 c) 2.0 d) 2.5 (with a decimal point) Please select the correct option (a, b, c, or d). ترجمة السؤال: سؤال: ما هو الناتج من مقتطف الشفرة التالي؟
public class QuizQuestion {
   public static void main(String[] args) {
      int x = 5;
      int y = 2;
      int result = x / y;
      System.out.println(result);
   }
}
أ) 2.5 ب) 2 ج) 2.0 د) 2.5 (مع نقطة عشرية) يرجى اختيار الخيار الصحيح (أو، ب، ج، أو د).

Here's a Java quiz question for you: Question: What is the output of the following code snippet?
public class QuizQuestion {
   public static void main(String[] args) {
      int x = 5;
      int y = 2;
      double result = x / y;
      System.out.println(result);
   }
}
A) 2.5 B) 2.0 C) 2 D) 2.5 (with a decimal point) Please select the correct option (A, B, C, or D) and provide your answer. ترجمة السؤال: سيتم طباعة الخيار B) 2.0.

Here's a Java quiz question for you: Question: What is the output of the following code snippet?
public class QuizQuestion {
   public static void main(String[] args) {
      int x = 5;
      int y = 10;
      int z = x + y;
      System.out.println("The sum of x and y is: " + z);
   }
}
A) The sum of x and y is: 15 B) The sum of x and y is: 510 C) The sum of x and y is: 5 + 10 D) The code will not compile Please choose the correct option (A, B, C, or D). ترجمة السؤال: سؤال: ما هو الناتج للكود التالي؟
public class QuizQuestion {
   public static void main(String[] args) {
      int x = 5;
      int y = 10;
      int z = x + y;
      System.out.println("مجموع x و y هو: " + z);
   }
}
أ) مجموع x و y هو: 15 ب) مجموع x و y هو: 510 ج) مجموع x و y هو: 5 + 10 د) الكود لن يتم تجميعه (compile) يرجى اختيار الخيار الصحيح (أ، ب، ج، د).

اكثر اللغات المستخدمه حسب تصنيف github للمشاريع الموجودة فيه java ثاني أكبر لغه وبايثون الرابعه
اكثر اللغات المستخدمه حسب تصنيف github للمشاريع الموجودة فيه java ثاني أكبر لغه وبايثون الرابعه

Here's a Java quiz question for you: Question: What is the output of the following code snippet?
int x = 5;
int y = 2;
double result = x / y;
System.out.println(result);
a) 2.5 b) 2.0 c) 2 d) Error: incompatible types Please select the correct option (a, b, c, or d). ترجمة السؤال: سؤال: ما هو الناتج لمقتطف الشفرة التالي؟
int x = 5;
int y = 2;
double result = x / y;
System.out.println(result);
أ) 2.5 ب) 2.0 ج) 2 د) خطأ: أنواع غير متوافقة يرجى اختيار الخيار الصحيح (أ، ب، ج، أو د).

Here's a Java quiz question for you: Question: What is the output of the following code snippet?
public class QuizQuestion {
    public static void main(String[] args) {
        String str1 = "Java";
        String str2 = new String("Java");
        
        System.out.println(str1 == str2);
        System.out.println(str1.equals(str2));
    }
}
a) true, true b) false, true c) true, false d) false, false Please select the correct option (a, b, c, or d) and provide your answer. ترجمة السؤال: سؤال: ما هو الناتج من مقتطف الكود التالي؟
public class QuizQuestion {
    public static void main(String[] args) {
        String str1 = "Java";
        String str2 = new String("Java");
        
        System.out.println(str1 == str2);
        System.out.println(str1.equals(str2));
    }
}
أ) صحيح، صحيح ب) خطأ، صحيح ج) صحيح، خطأ د) خطأ، خطأ يرجى اختيار الخيار الصحيح (أو ب أو ج أو د) وتقديم إجابتك.

Here's a Java quiz question for you: Question: What is the output of the following code?
public class QuizQuestion {
    public static void main(String[] args) {
        String str1 = "Java";
        String str2 = new String("Java");
        
        if (str1 == str2) {
            System.out.println("Equal");
        } else {
            System.out.println("Not equal");
        }
    }
}
A) Equal B) Not equal C) Compilation error D) Runtime error Please select the correct option (A, B, C, or D) and provide your answer. ترجمة السؤال: السؤال: ما هو الناتج النهائي للكود التالي؟
public class QuizQuestion {
    public static void main(String[] args) {
        String str1 = "Java";
        String str2 = new String("Java");
        
        if (str1 == str2) {
            System.out.println("Equal");
        } else {
            System.out.println("Not equal");
        }
    }
}
A) متساوي (Equal) B) غير متساوي (Not equal) C) خطأ في الترجمة (Compilation error) D) خطأ أثناء التنفيذ (Runtime error) يرجى اختيار الخيار الصحيح (A, B, C, أو D) وتقديم إجابتك.

Here's a Java quiz question for you: Question: What is the difference between the "==" operator and the ".equals()" method when comparing objects in Java? a) The "==" operator compares the memory addresses of the objects, while the ".equals()" method compares the values of the objects. b) The "==" operator compares the values of the objects, while the ".equals()" method compares the memory addresses of the objects. c) The "==" operator and the ".equals()" method perform the same comparison for objects. d) The "==" operator and the ".equals()" method cannot be used to compare objects in Java. Please choose the correct option (a, b, c, or d). ترجمة السؤال: سؤال: ما هو الفرق بين عامل "==" وطريقة ".equals()" عند مقارنة الكائنات في لغة جافا؟ ج) يقارن العامل "==" عناوين الذاكرة للكائنات، بينما تقارن طريقة ".equals()" قيم الكائنات.

Sure! Here's a Java quiz question for you: Question: What is the output of the following code snippet?
public class QuizQuestion {
    public static void main(String[] args) {
        int x = 5;
        int y = 2;
        double result = x / y;
        System.out.println(result);
    }
}
A) 2.5 B) 2.0 C) 2 D) 2.5 (with a decimal point) E) Compilation error Please provide your answer by selecting the appropriate option (A, B, C, D, or E). ترجمة السؤال: سؤال: ما هو الناتج الناتج من مقتطف الشفرة التالي؟
public class QuizQuestion {
    public static void main(String[] args) {
        int x = 5;
        int y = 2;
        double result = x / y;
        System.out.println(result);
    }
}
أ) 2.5 ب) 2.0 ج) 2 د) 2.5 (مع نقطة عشرية) هـ) خطأ في الترجمة يرجى تقديم إجابتك عن طريق اختيار الخيار المناسب (أ، ب، ج، د، أو هـ).