تسجيل الدخول
تذكر
تسجيل
الأسئلة
الأسئلة غير المجابة
الوسوم
الأعضاء
اطرح سؤالاً
اطرح سؤالاً
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
تصويتات
سُئل
مارس 6
بواسطة
مجهول
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
تصويتات
تم الرد عليه
مارس 6
بواسطة
مجهول
Size of stack is: 3
تعليقك على هذه الإجابة:
اسمك الذي سيظهر (اختياري):
أعلمني على هذا البريد الإلكتروني إذا تم إضافة تعليق بعدي:
أعلمني على بريدي الإلكتروني إذا تم إضافة تعليق بعدي
نحن نحرص على خصوصيتك: هذا العنوان البريدي لن يتم استخدامه لغير إرسال التنبيهات.
مرحبًا بك إلى يزيد، حيث يمكنك طرح الأسئلة وانتظار الإجابة عليها من المستخدمين الآخرين.
اسئلة متعلقة
0
تصويتات
1
إجابة
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? a.Size of stack is: 3 b.Size of stack is: -1 c.Size of stack is: 2 d.None.
سُئل
أبريل 22
بواسطة
مجهول
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
سُئل
مارس 6
بواسطة
مجهول
0
تصويتات
1
إجابة
Stack st=new Stack(); st.push("Saudi"); st.push("Brazil"); st.push("Canada"); System.out.println("Search of Dubia in stack:" +st.search("Dubai"));What is output of code? a.Search of Dubia in stack: 2 b.Search of Dubia in stack: 1 c.Search of Dubia in stack: 0 d.Search of Dubia in stack: -1
سُئل
أبريل 22
بواسطة
مجهول
0
تصويتات
1
إجابة
Stack st=new Stack(); st.push("Saudi"); st.push("Brazil"); st.push("Canada"); System.out.println("Search of Dubia in stack:" +st.search("Dubai"));What is output of code? a.Search of Dubia in stack: 2 b.Search of Dubia in stack: 1 c.Search of Dubia in stack: 0 d.Search of Dubia in stack: -1
سُئل
أبريل 15
بواسطة
مجهول
0
تصويتات
1
إجابة
Stack st=new Stack(); st.push("Saudi"); st.push("Brazil"); st.push("Canada"); System.out.println("Remove front stack: " +st.pop()); What is output of code? a.Remove front stack: Brazil b.Remove front stack: Canada c.Remove front stack: Saudi d.Remove front stack: -1
سُئل
أبريل 15
بواسطة
مجهول
...