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...


Difference between treemap & sortedset

Answers were Sorted based on User's Feedback



Difference between treemap & sortedset..

Answer / amit kumar

1.Treemap is a class which has implemented SortedMap
interface where as Sortedset is an interface which has been
implemented by Treeset class.
2. Treemap can contain the duplicate value but the Treeset
which has implemented Sortedset can not hold duplicate
value.

Is This Answer Correct ?    5 Yes 2 No

Difference between treemap & sortedset..

Answer / pradip patil

TreeMap is implements Map interface it holds key and value pair and it doest allow duplicate keys where as it allows duplicate values.
TreeSet implements Set interface and it doesnt allow duplicats elements.

Is This Answer Correct ?    1 Yes 0 No

Difference between treemap & sortedset..

Answer / srikanth

treemap is used for storing key value pair without
duplicates in sorted order

sortedset is an interface which is extending set interface

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More J2EE Interview Questions

What are the components of J2EE application?

0 Answers  


What is a web container j2ee?

0 Answers  


you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?

0 Answers  


How many types of component events are in java?

0 Answers  


What is java listener?

0 Answers  


What is the difference between java and core java?

0 Answers  


i have to create an application with session.during that session a timer will be started & show the time in second upto the session expired.So that i can know how many time i in that session. Hint:-i m hinted that it will coded with javascript

4 Answers   L&T, Wipro,


Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debugging java.

2 Answers  


What is a panel java?

0 Answers  


Why is j2ee needed?

0 Answers  


On which platform j2ee is based?

0 Answers  


What is full form of j2ee?

0 Answers  


Categories