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
How many return statement are allowed in a function?
What do you know about the garbage collector in java?
Can a class extend more than one class?
How many threads does a core java have?
What is meant by method?
How do you compare objects in java?
Name few java.lang classes introduced with java 8 ?
What are checked exceptions?
What are the different types of java?
Give reasons supporting that string is immutable.
how we can create packages in java?
What is instanceof keyword?
What is an anonymous class in java?
What is the difference between an interface and an abstract class?
Which command from the jdk compiles a java program?