Loading video...
QuickNotes™ 
List Operations
To allow duplicate elements to be stored in a collection, a list can be used. A list can not only store duplicate elements, but can also allow the user to specify where the element is stored. The user can access the element by index.
The ArrayList class and the LinkedList class are concrete implementations of the List interface. Which of the two classes you use depends on your specific needs.
Common operations: add, addAll, get, indexof, lastindexof, and remove.
Enumeration is a Java interface used to extract the elements of a container like vector one at a time successively.
Discussion 
Please login to ask a question and view discussion.













