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 )

What types of comments are available in the JSP?

Why J2EE is suitable for the development distributed multi-tiered enterprise applications?

Interview Question: Why do we need Struts?

Interview Question: Is Struts compatible with other Java technologies?

Question: What is a Hidden Comment in JSP?

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

What is the difference between Session Bean and Entity Bean?

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

Explain the Polymorphism principle.

Interview Question: What is EJB container?

Interview Question: What is EJB client JAR file?

Interview Question: What is local interface. How values will be passed?

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

What are the call back methods in Session bean?

What is Collection API?

Latest Articles (in Interview)

Comment on this tutorial