What is Collection API?

By: Karthik  

Answer: The Collection API is a set of classes and interfaces that support operation on collections of objects. These classes and interfaces are more flexible, more powerful, and more regular than the vectors, arrays, and hashtables if effectively replaces.

Example of classes: HashSet, HashMap, ArrayList, LinkedList, TreeSet and TreeMap. Example of interfaces: Collection, Set, List and Map.


Archived Comments


Most Viewed Articles (in Interview )

Latest Articles (in Interview)

Comment on this tutorial