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

How client side validation is enabled on a jsp form?

592


How struts control data flow?

540


What is the need of struts?

566


What is dispatch action class?

609


Why use spring, if you are already using struts?

558






1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2755


Why was reload removed from struts (since 1.1)?

546


What does action do in struts?

536


What is an interceptor stack?

575


How does struts2 token work?

526


How can we integrate log4j in Struts2 application?

564


What is the purpose of @result?

582


What is the purpose of execute() method?

572


How you will enable front-end validation based on the xml in validation.xml?

573


What is ognl?

600