In treeset we add same object ...what will be the out put
Answers were Sorted based on User's Feedback
Answer / ramamurthy
Output will be in display natural sorted order, which
doesn't contail duplicates
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
Answer / srikanth
it remove the duplicates and print the unique values
| Is This Answer Correct ? | 1 Yes | 0 No |
Who developed java?
What is java autoboxing?
Write java program to reverse string without using api?
Name the method that used to clear the buffer ?
Why do we use string?
Explain Stream Tokenizer?
1.what is the exact difference between applet and frame? 2.Do we use main method in frames?
What is r in java?
What is the meaning of variables in research?
What does microservices mean?
Can we sort a map in java?
Name two subclasses of the TextComponent class?