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 / malligontla
Tree Map working according to the Ascending order.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What does those terms actually mean included in the j.d.k i.6?
Explain the difference between serializable and externalizable in java?
What is scope of a variable?
Can a class be private in java?
What is the difference between iterator and list iterator?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Can we define private and protected modifiers for variables in interfaces?
What is a variable analysis?
How do you escape in java?
What programs use java?
What is Applet Stub Interface ?
how we can create packages in java?
what is nested class in java?
Explain purpose of sleep() method in java?
What best practices should you follow while writing multithreaded code in java?