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 )

Question: What is a Hidden Comment in JSP?

Interview Question: What is Action Class?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

Question: What is an output comment in JSP?

What is J2EE?

What is Deployment Descriptor?

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

Explain the Encapsulation principle.

Explain the different forms of Polymorphism.

What are all the different scope values for the tag?

Interview Question: What is Struts Validator Framework?

Interview Question: How does Struts work?

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

Interview Question: What is EJB container?

Interview Question: Can I invoke Runtime.gc() in an EJB?

Latest Articles (in Interview)

Comment on this tutorial