Programming Tutorials

What is Collection API?

By: Karthik in Interview Tutorials on 2012-06-16  

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.





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

What types of comments are available in the JSP?

What is the difference between jsp:forward and response.sendRedirect(url)

Interview Question: Why it is called Struts?

Explain the different forms of Polymorphism.

Interview Question: Do ActionForms have to be true JavaBeans?

Interview Question: What is Struts Validator Framework?

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

What are Access Specifiers available in Java?

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

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

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

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

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

What is Collection API?

Interview Question: What is abstract schema?

Latest Articles (in Interview)