In treeset we add same object ...what will be the out put
Answer Posted / ramamurthy
Output will be in display natural sorted order, which
doesn't contail duplicates
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why string is immutable with example?
What is a boolean structure?
What is the difference between a scrollbar and a scrollpane?
Can we declare an array without size in java?
What is a java predicate?
What is the purpose of the enableevents() method in java programming?
What is the difference between this() and super() in java?
Why null value is used in string?
How do you avoid global variables?
What are the different approaches to implement a function to generate a random number?
What are the four integer types supported by java?
Can we change the value of static variable?
What is meant by data hiding in java?
What is the lifetime and scope of a variable?
When will you define a method as static in Java?