What is Collection API?

By: Karthik Printer Friendly Format    

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.



Most Viewed Articles (in Interview )

Interview Question: Do you have to credit Struts on your own website?

Interview Question: If the framework doesn't do what I want, can I request that a feature be added?

What is similarities/difference between an Abstract class and Interface?

Interview Question: What is the difference between sessioncontext and entitycontext?

Question: How is the MVC design pattern used in Struts framework?

Interview Question: What are the optional clauses in EJB QL?

Question: What is an output comment in JSP?

What do you understand by a J2EE module?

Differentiate between .ear, .jar and .war files.

What is Deployment Descriptor?

Interview Question: What is Action Class?

Interview Question: What is Message Driven Bean?

What is J2EE?

Name the containers which uses Border Layout as their default layout?

What is Collection API?

Latest Articles (in Interview)

Comment on this tutorial