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: What is Action Class?

Interview Question: What is abstract schema?

Question: What is a Hidden Comment in JSP?

What do you understand by a J2EE module?

What are types of J2EE clients?

Interview Question: What is Struts?

Interview Question: What is Deployment descriptor?

Interview Question: What is Local client view in EJB?

Interview Question: What is lazy loading?

Interview Question: What is Message Driven Bean?

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

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

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?

Tell me something about J2EE component?

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

Latest Articles (in Interview)

Comment on this tutorial