0 تصويتات
منذ بواسطة
LinkedList link=new LinkedList();     link.add("Apple");       link.add("Orange");     link.add(2, "Banana");     link.remove(0);      System.out.println("The contents of array is" + link); What is output of linkedList in java?
a.The contents of array is[Orange, Banana]
b.The contents of array is[Apple, Orange, Banana]
c.The contents of array is[Banana, Orange]
d.The contents of array is[Apple, Banana, Orange]

1 إجابة واحدة

0 تصويتات
منذ بواسطة
b. The contents of array is[Apple, Orange, Banana]
مرحبًا بك إلى يزيد، حيث يمكنك طرح الأسئلة وانتظار الإجابة عليها من المستخدمين الآخرين.

اسئلة متعلقة

...