What is the List interface? The List interface provides an ordered collection. Elements in the List can be accessed using integer indexes.
Some Methods of the List are:
1. void add(int index, Object element) 2. boolean add(Object o) 3. boolean equals(Object o) 4. Object get(int index) 5. int hashCode() 6. int indexOf(Object o) 7. Iterator iterator() 8. Object remove(int index)
|