How TreeMap sorts the objects inside it?? suppose if have
include one employee object and one car object. On what
basis it will sort?
Answer Posted / naveen.bav
Hello Venkatesh, I am not asking for synchronization. I am
asking how TreeMap will sort the values inside it.Thanks
for the reply
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between compare and compareto in java?
What is the disadvantage of synchronization?
What does the string method compareto () do?
Can we have 2 main methods in java class?
Explain the init method?
What is the use of callablestatement?
How many bytes is double?
Which collection does not allow duplicates in java?
What is difference between hashset and hashmap?
Does .length start 0 java?
What is literal example?
What does java stand for?
How can you generate random numbers in java?
Why is the main method static?
What is the difference between checked exception and unchecked exception?