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 is the difference between interface and abstract class?

Interview Question: Does Struts include its own unit tests?

What are the call back methods in Session bean?

Interview Question: What is Struts?

Interview Question: Who makes the Struts?

Interview Question: What is Action Class?

Interview Question: Is Struts compatible with other Java technologies?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: Can i map more than one table in a CMP?

Interview Question: What is the difference between EAR, JAR and WAR file?

Interview Question: What are the call back methods in Entity bean?

Interview Question: What is the difference between JavaBean and EJB?

Interview Question: What is the difference between find and select methods in EJB?

Question: Difference between forward and sendRedirect in JSP?

Question: What is an output comment in JSP?

Latest Articles (in Interview)

Comment on this tutorial