Java Topics

List

 List interface Properties:

✓List allows duplicates.

✓ List is indexed type of collection.

✓ Insertion order is preserved.

✓ Multiple null values are allowed.

✓ To add elements to the list we can use add(element).

✓ To retrieve the elements from the list we use get(index).

✓ ArrayList, LinkedList and Vector classes implements List interface.

For more details about each above classes, Click on the below links.

(i) ArrayList

(ii) Vector

(iii) LinkedList