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
Is java 11 paid version?
What is the final class modifier?
What best practices should you follow while writing multithreaded code in java?
How to restrict a member of a class from inheriting by its sub classes?
Are variables stored in ram?
What is method and methodology?
Can I declare a class as private?
Is it possible to use string in the switch case?
What is the difference between array list and vector in java?
What are the advantages and disadvantages of object cloning?
What is purpose of keyword void?
Why do we need autoboxing in java?
What do you mean by static variable?
How to do encapsulation in java?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread