What is the List interface?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the List interface?
Rating:
The List interface extends the Collection interface and stores elements in a sequence. Each element can be accessed by its index number. The List interface defines some additional methods such as add(int,E) and addAll(int,Collection). It allows a user to insert elements at a specific index location and may also contain duplicate elements. Its generic form is as follows:
Rating:
Was this information helpful?
Other articles
- What is the == operator?
- What is the ordinal() enumeration method?
- What is an assignment statement?
- What is the lower() method of the NavigableSet interface?
- What is a thin client?