Untitled Document

Subscribe here to get updates on new Videos


15. List interface details?




previous homenext

List Interface:

1. It is the child interface of Collection.
2. If we want to represent a group of individual objects as a single entity where duplicates are allowed and insertion order must be preserved then we should go for List.
3. We can differentiate duplicates by using index.
4. We can preserve insertion order by using index, hence index play very important role in list interface