LinkedList link=new LinkedList(); link.add("a"); link.add("b"); link.add(10); System.out.println("The contents of array is" + link); What is output of linkedList in java?
a.The contents of array is[b, 10, a]
b.The contents of array is[10, b, a]
c.The contents of array is[b, a, 10]
d.The contents of array is[a, b, 10]
1 points