collection framework hirarchy?

Answer Posted / royal

It is introduced in java 2 before to that there are five legacy classes and one legacy interface
Vector
HashTable
Properties legacy classes Eenumeration legacy interface
Dictionary
Stack
There are some problem in above listed legacy classes to avoid these problem Sun has introduced collection framework in Java 2.

























In the collection frame work there are the three different category:--------
List :----- collection of object with duplicate.
Set :----- collection of object without duplicate.
Map :--- collection of key value pairs

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @typeconversion annotation annotation?

567


What is the use of interceptor?

526


Are actions thread safe?

545


What is the design role played by struts?

557


Why is it called struts?

541






What is switchaction?

663


What is the default location of result pages and how can we change it?

560


Are struts and shocks the same?

513


In struts.xml, what does the attribute "method" stands for in the "action" tag?

537


How to display validation errors on jsp page?

572


What are the ways in which duplicate form submission can occur?

514


What is the use of namespace in action mapping in Struts2?

583


What is actionservlet?

564


Are interceptors and filters different?

553


What is the purpose of @key?

585