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
When should I use singleton pattern?
Explain the selection sort algorithm?
a thread is runnable, how does that work? : Java thread
In a container there are 5 components. I want to display all the component names, how will you do that?
What is the collections api in java programming?
Define an enumeration?
Define immutable object?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
What is singleton math?
State the significance of public, private, protected class?
Why main() method is public, static and void in java ?
What is the purpose of garbage collection in java?
How do you include a string in java?
What is re-factoring in software?
What is the type of lambda expression?