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


In treeset we add same object ...what will be the out put

Answers were Sorted based on User's Feedback



In treeset we add same object ...what will be the out put..

Answer / ramamurthy

Output will be in display natural sorted order, which
doesn't contail duplicates

Is This Answer Correct ?    3 Yes 0 No

In treeset we add same object ...what will be the out put..

Answer / mohit

A Set is a Collection that cannot contain duplicate elements...TreeSet is also a set so it will not keep duplicate items....it will show only unique values....

Is This Answer Correct ?    3 Yes 1 No

In treeset we add same object ...what will be the out put..

Answer / srikanth

it remove the duplicates and print the unique values

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Who developed java?

0 Answers  


What is java autoboxing?

0 Answers  


Write java program to reverse string without using api?

0 Answers  


Name the method that used to clear the buffer ?

2 Answers  


Why do we use string?

0 Answers  


Explain Stream Tokenizer?

4 Answers  


1.what is the exact difference between applet and frame? 2.Do we use main method in frames?

5 Answers  


What is r in java?

0 Answers  


What is the meaning of variables in research?

0 Answers  


What does microservices mean?

0 Answers  


Can we sort a map in java?

0 Answers  


Name two subclasses of the TextComponent class?

2 Answers  


Categories