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 is Collection API?

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

Interview Question: What is EJB client JAR file?

Interview Question: How do I install Struts?

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

What do you understand by a container in J2EE?

What are types of J2EE clients?

Tell me something about J2EE component?

What is the difference between JTS and JTA?

Question: How would you go about analyzing performance of an application?

Question: How is the MVC design pattern used in Struts framework?

Interview Question: Can I invoke Runtime.gc() in an 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?

What types of comments are available in the JSP?

Interview Question: What is abstract schema?

Latest Articles (in Interview)