Collections Framework

  1. Collections Framework(Collection Interface)
    1. Array
    2. Collection (Interface) & Collections (Utility class)
    3. Serializable and Clonable and RandomAccess Interfaces
  2. List Interface
    1. ArrayList(Best – Frequent Retrieval & Worst – Insertion or Deletion in middle)
    2. LinkedList(Best – Insertion or Deletion in middle & Worst – Read from Middle)
    3. Vector
    4. Stack extends Vector
    5. ArrayDequeue
    6. Difference between ArrayList and Vector
    7. Difference between ArrayList and LinkedList
  3. Set Interface
    1. HashSet (Best : Search)
      1. LinkedHashSet
    2. SortedSet Interface
      1. NavigableSet Interface extends SortedSet Interface
        1. TreeSet (Comparable and Comparator Interface)
    3. Difference between HashSet, LinkedHashSet and TreeSet
    4. Differences between List and Set
  4. Queue Interface
    1. PriorityQueue
    2. BlockingQueue.
      1. LinkedBlockingQueue
      2. PriorityBlockingQueue
  5. Map Interface
    1. HashMap Class
      1. LinkedHashMap extends HashMap (Class)
    2. IdentityHashMap Class
    3. WeakHashMap Class
    4. SortedMap Interface
      1. NavigableMap Interface
        1. TreeMap
    5. Hashtable
    6. Properties extends Hashtable
    7. Difference between HashMap and Hashtable
    8. Difference between HashMap and LinkedHashMap
  6. Enum Collection
    1. EnumSet
    2. EnumMap
  7. Cursors
    1. Enumeration Interface
    2. Iterator Interface
    3. ListIterator Interface
    4. Difference between Enumeration, Iterator and ListIterator
  8. Utility Class
    1. Collections
    2. Arrays

Generics

DataStructures

  1. Stack
  2. Queue
  3. Hashtable
  4. Tree
    • Balaced Tree
    • Red and Black Tree
    • BTree (Binary Tree)
      • Binary Search Tree
    • AVL
Java Collection Framework - An Exclusive Guide on Collection Framework -  TechVidvan

Collections Interview Questions

Reference :