What is the difference between HashTable and ArrayList?
Pradeep Shet
Select an image from your device to upload
ArrayList is an ordered Collection of objects, the objects will be in the same order that you use to add them to the ArrayList. HashTable is a Collection of Key Value Pair. Each object in the HashTable is defined by a Key and Value. Generally the ArrayList is quicker than the HashTable to insert elements in some cases