List Interface :
A List interface is about the index. The one thing that List has that non-lists don't have is a set of methods related to the index. Those key methods are like get(int index), indexOf(Object o), add(int index, Object obj), and so on. All three List implementations are ordered by index position. position that you determine either by setting an object at a specific index or by adding it without
specifying position.The three List implementations are.
- ArrayList
- Vector
- LinkedList
Some key points about these implementation classes are
Refer below links for above classes examples.
1. Array List implementation
2. Vector Implementation
3. LinkedList Implementation
Comments
Post a Comment