en
Feedback
جافا Java

جافا Java

Open in Telegram

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

Show more
6 160
Subscribers
-524 hours
-197 days
-7530 days
Posts Archive
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 (مع نقطة عشرية) هـ) خطأ في الترجمة يرجى تقديم إجابتك عن طريق اختيار الخيار المناسب (أ، ب، ج، د، أو هـ).

واللي يحب يشوف اخبار تقنيه وادوات تساعد المطورين جافا وغير جافا يتابع حسابي على تويتر ما احب انشر هنا اشياء خارج موضوع الجافا
واللي يحب يشوف اخبار تقنيه وادوات تساعد المطورين جافا وغير جافا يتابع حسابي على تويتر ما احب انشر هنا اشياء خارج موضوع الجافا

حسب التصويت ان شاء الله يكون انجلش وعربي ان شاء الله اقرب وقت نبدا🫡

.

سؤال لو ارسلت كل يوم بشكل ثابت سؤال جافا كيف تفضلوه يكون
Anonymous voting

احد عنده سؤال؟

طريقه الاستخدام

كود الاتصال

وهذا المشروع كامل من محرر intellij IDEA ومن يريد أن ينقله للنتبينز, يستطيع اخذ مجلد ال src ووضعه في مشروع نتبينز جديد.. والمكتبة لم تستخدم أي مكاتب خارجية.

السلام عليكم.. هذا شرح سريع عن استخدام المكتبة للاتصال ب openai api وفي الفيديو تمت أول محاولة الاتصال بالواجهة بدون stream حيث ينتظر العميل كي تصل النتيجة وفي المحاولة الثالثة قمنا باستخدام ال stream في الاتصال. وأعتذر من الجميع على التأخر وكذلك على عدم وجود توثيق للمكتبة.. وسأقوم بهذا إن شاء الله وكذلك المكتبة ماتزال نسخة تجريبية, وإن شاء الله سنضيف ماتبقى من قدرات مكاتب البايثون لها.

.

اختبار

اختبار

اختبار