Collection

Java's Collection Interface
The java.util.Collection interface is the one of root interface as mentioned in Overview of interface of java collections framework classes. if you don't instantiate Collection direcly, you can instantate objects using sub types of Collection. commonly all sub types consider as collections in java.

Here is a list covered here.

1.Collection sub types.
2.Adding and Removing Element
3.Check Element stored in Collection
4.Collection size
5.Iterating a Collection

No comments:

Post a Comment