In treeset we add same object ...what will be the out put
Answer Posted / srikanth
it remove the duplicates and print the unique values
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is final keyword?
What if I write static public void instead of public static void in java?
Is logger a singleton?
What is the concept of multithreading?
What is the tradeoff between using an unordered array versus an ordered array?
What classes of exceptions may be thrown by a throw statement?
Tell me about different OOPS concepts.
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
How many types of equations are there?
What is a platform?
What java is used for?
Can each java object keep track of all the threads that want to exclusively access it?
What are the advantages of packages in java?
What is visibility mode?
What is static import in java?