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

Interface vs Abstract Class in Java ? when to use ??

Other nonabstract methods can access a method that you declare as abstract.But first, let's look at when to use normal class definitions and when to