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
What is sorting algorithm in java?
What is the difference between Error, defect,fault, failure and mistake?
What is singleton class in ruby?
why would you use a synchronized block vs. Synchronized method? : Java thread
Explain the inheritance?
Can you instantiate the math class in Java?
What is ternary operator? Give an example.
What is Hierarchy of exception?
What is the base class for error and exception?
When is the arraystoreexception thrown?
What is the string function?
Can a constructor be private and how are this() and super() method used with constructor?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Write a program to find maximum and minimum number in array?
Can we serialize static variables in java?