Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


collection framework hirarchy?

Answers were Sorted based on User's Feedback



collection framework hirarchy?..

Answer / krishna kumar g.

Collection(I)
/ \
List(I) Set(I)
/ \ / \ \
ArrayList Vector HashSet LinkedHashSet SOrtedSet(I)
|
TreeSet


Map(I)
/ | \ \
Hastable HashMap LinkedHashMap SortedMap(I)

Is This Answer Correct ?    30 Yes 2 No

collection framework hirarchy?..

Answer / laxmi

Ans:
Collection Map
/ \ |
List Set SortedMap
|
SortedSet

Is This Answer Correct ?    20 Yes 3 No

collection framework hirarchy?..

Answer / 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

collection framework hirarchy?..

Answer / yadaiah

Collection is the root interface for all the hierarchy (except Map).
Set interface unique feature is that it does not accept duplicate elements. That is, no two elements will be the same.
SortedSet interface is derived from Set interface and adds one more feature that the elements are arranged in sorted order by default.
List interface permits duplicate elements.
Queue interface holds elements and returns in FIFO order.
Map adds the elements in key/value pairs. Duplicate keys are not allowed, but duplicate values are allowed. One key can map one value only.
SortedMap interface is a particular case of Map. Keys are sorted by default.

Is This Answer Correct ?    1 Yes 0 No

collection framework hirarchy?..

Answer / ram

plz any one use and implement encapsulation,polymorphism,inheritance and abstraction in a single program

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

How is declarative handling of exceptions done in struts ?

0 Answers  


what is tiles in struts?

6 Answers  


How is the Struts framworl related to MVC2?

2 Answers   Wipro,


Can I have html form property without associated getter and setter formbean methods?

0 Answers  


what is the main reason for developing struts? what is advantages over Basic MVC architecture based JAVA Application?

1 Answers  


Why are struts tightly coupled?

0 Answers  


What are action errors?

0 Answers  


What is java struts?

0 Answers  


Which model components are supported by Struts?

0 Answers  


What is struts-default package and what are it’s benefits?

0 Answers  


What do you mean by tiles in struts?

0 Answers  


Why do the struts tags provide for so little formatting?

0 Answers  


Categories