Array vs ArrayList vs Vector vs LinkedList

An ArrayList is ordered collection (also known as a sequence). It means that the user of controls where each element is inserted. This class is very

HashTable vs HashMap vs HashSet

HashtableHashtable is basically a datastructure to retain values of key-value pair. It didn’t allow null for both key and value. You will get NullPointerException

Collections vs Collection

Collection is the root interface in collection hierarchy,groups multiple elements into a single unit, it allows duplicate & non-duplicate elements