Java Interview Questions & Answers part 9
It can grow dynamically
It provides more powerful insertion and search mechanisms than arrays.
The List interface provides support for ordered collections of objects. Lists may contain duplicate elements.
Q: – What is a Map ?
A map is an object that stores associations between keys and values (key/value pairs).
ListIterator is just like Iterator, except it allows us to access the collection in either the forward or backward direction and lets us modify an element
An EnumSet is a specialized set for use with enum types, all of the elements in the EnumSet type that is specified, explicitly or implicitly, when the set is created.
Submitted By:-Ankur Jain Email-ID: – firstname.lastname@example.org