List

Java's List Interface
Interface java.util.List is sub type of java.util.Collection interface. List has implementations classes(ArrayList, LinkedList, Vector) which represents the list of objects in indexing order.
List allowed to add duplicate objects. i will discuss more here.

1.List Implementations
2.Adding and Accessing Elements
3.Removing Elements
4.Generic List

1.List Implementations
List is sub types of Collection so every inherited methods includes in List and it's implementations classes.

  • java.util.ArrayList
  • java.util.Vector
  • java.util.LinkedList
  • java.util.Stack

No comments:

Post a Comment