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 )

Question: What is a Hidden Comment in JSP?

What types of comments are available in the JSP?

Tell me something about J2EE component?

The output of System.out.println(5<<2) in Java

What is Collection API?

Name the containers which uses Border Layout as their default layout?

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

What is the difference between Session Bean and Entity Bean?

Interview Question: Do ActionForms have to be true JavaBeans?

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

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

The output of System.out.println(5>>2) in Java

What is the difference between JTS and JTA?

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

Interview Question: What is Action Class?

Latest Articles (in Interview)