0 تصويتات
منذ بواسطة
Queue<Integer> qu = new LinkedList<>();   qu.add(1);   qu.add(2);   qu.add(3);  System.out.println("The first element is: "+qu.peek()); What is output of code?
a.The first element is: 2
b.The first element is: 1
c.The first element is: 0
d.The first element is: 3

1 إجابة واحدة

0 تصويتات
منذ بواسطة
b. The first element is: 1
مرحبًا بك إلى يزيد، حيث يمكنك طرح الأسئلة وانتظار الإجابة عليها من المستخدمين الآخرين.

اسئلة متعلقة

...