Sec 10: Java Collection Questions
1) What is the difference between ArrayList and Vector?

2) What is the difference between ArrayList and LinkedList?

3) What is the difference between Iterator and ListIterator?

4) What is the difference between Iterator and Enumeration?

5) What is the difference between List and Set?
6) What is the difference between HashSet and TreeSet?
7) What is the difference between Set and Map?
8) What is the difference between HashSet and HashMap?
9) What is the difference between HashMap and TreeMap?
10) What is the difference between HashMap and Hashtable?

11) What is the difference between Collection and Collections?
12) What is the difference between Comparable and Comparator?

13) What is the advantage of Properties file?
14) What does the hashCode() method?
15) Why we override equals() method?
16) How to synchronize List, Set and Map elements?

17) What is the advantage of generic collection?
18) What is hash-collision in Hashtable and how it is handled in Java?
19) What is the Dictionary class?
20) What is the default size of load factor in hashing based collection?
Last updated