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.

Ask a Question



Most Viewed Articles (in Interview )

What are all the different scope values for the tag?

Interview Question: Is there a particularly good IDE to use with Struts ?

Interview Question: How many EJB Objects are created for a Bean?

Interview Question: What is deployment descriptor?

Interview Question: What is Message Driven Bean?

What is transient variable?

Is Iterator a Class or Interface? What is its use?

How to define an Abstract class?

What is the difference between jsp:include page and @ include file?

What are implicit Objects available to the JSP Page?

Interview Question: What is Struts?

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

Interview Question: What is Struts Validator Framework?

Interview Question: What is Remote client view?

Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

Latest Articles (in Interview)

Comment on this tutorial