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