Java - Collections


Question 1     

Which of these packages contain all the collection classes?







Question 3     

Which of these interface is not a part of Java’s collection framework?






Question 4     

Which of these interface must contain a unique element?






Question 5     

List, Set and Queue __________ Collection.






Question 6     

Which of the following is legacy class in java?






Question 7     

Iterator and ListIterator can traverse over






Question 8     

Which of these standard collection classes implements a dynamic array?







Question 10     

 After the code has executed, what is the capacity of the list and size?

ArrayList<String> list = new ArrayList<String>(10) ;
list.add( "The" );
list.add( "Inquisitive" );
list.add( "Knowledge is Boundless" );






Sign Up Page

Oops!!

To view the solution need to Login



Score : 0 / 0
L
o
a
d
i
n
g
.
.
.