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
11:15 AM
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
11:15 AM
Collections vs Collection
11:13 AM
Collection is the root interface in collection hierarchy,groups multiple elements into a single unit, it allows duplicate & non-duplicate elements
11:13 AM