تسجيل الدخول
تذكر
تسجيل
الأسئلة
الأسئلة غير المجابة
الوسوم
الأعضاء
اطرح سؤالاً
اطرح سؤالاً
Stack st=new Stack(); st.push("Saudi"); st.push("Brazil"); st.push("Canada"); System.out.println("Size of stack is: " +st.size());What is output of code? Size of stack is: 3 Size of stack is: -1 Size of stack is: 2 None. 0.5 points
0
تصويتات
سُئل
منذ
5 أيام
بواسطة
مجهول
Stack st=new Stack(); st.push("Saudi"); st.push("Brazil"); st.push("Canada"); System.out.println("Size of stack is: " +st.size());What is output of code?
Size of stack is: 3
Size of stack is: -1
Size of stack is: 2
None.
0.5 points
من فضلك
سجل دخولك
أو
قم بتسجيل حساب
للإجابة على هذا السؤال
1
إجابة واحدة
0
تصويتات
تم الرد عليه
منذ
5 أيام
بواسطة
مجهول
Size of stack is: 3
تعليقك على هذه الإجابة:
اسمك الذي سيظهر (اختياري):
أعلمني على هذا البريد الإلكتروني إذا تم إضافة تعليق بعدي:
أعلمني على بريدي الإلكتروني إذا تم إضافة تعليق بعدي
نحن نحرص على خصوصيتك: هذا العنوان البريدي لن يتم استخدامه لغير إرسال التنبيهات.
مرحبًا بك إلى يزيد، حيث يمكنك طرح الأسئلة وانتظار الإجابة عليها من المستخدمين الآخرين.
اسئلة متعلقة
0
تصويتات
1
إجابة
Stack st=new Stack(); st.push("Saudi"); st.push("Brazil"); st.push("Canada"); System.out.println("Search of Saudi in stack: " +st.search("Saudi")); What is output of code? Search of Saudi in stack: 3 Search of Saudi in stack: 1 Search of Saudi in stack: 0 Search of Saudi in stack: -1
سُئل
منذ
5 أيام
بواسطة
مجهول
0
تصويتات
1
إجابة
Queue<Integer> qu = new LinkedList<>(); qu.add(1); qu.add(2); qu.add(3); qu.poll(); qu.poll(); System.out.println("The Queue size is : "+qu.size()); What is output of code? The Queue size is: 3 The Queue size is: 0 The Queue size is: 1 The Queue size is: 5
سُئل
منذ
5 أيام
بواسطة
مجهول
0
تصويتات
1
إجابة
Queue<Integer> qu = new LinkedList<>(); qu.add(1); qu.add(2); qu.add(3); qu.poll(); qu.poll(); System.out.println("The first element is: "+qu.peek()); What is output of code? The first element is: 2 The first element is: 1 The first element is: 0 The first element is: 3
سُئل
منذ
5 أيام
بواسطة
مجهول
0
تصويتات
1
إجابة
In the reaction: C6H12O6(s) +602(g) → 6CO2(g) + 6H2O(1) If 1.0 g CH12O6 reacts with excess O₂, what mass (by grams) of H₂O is formed? A 0.3 g B 1.2 g 0.6 g D 9.9 g E none of these
سُئل
مايو 25، 2024
بواسطة
مجهول
0
تصويتات
1
إجابة
int y = 0; for (int i = 0; i<10; ++i) { y += i; } System.out.println(y);
سُئل
مايو 15، 2024
بواسطة
مجهول
...