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 / venkatesh
call static method from Collections class
below is method:
static Map synchroizedMap(MaP Object)
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
Difference between keyword and identifier.
What about interrupt() method of thread class ?
What is a treemap in java?
What is n in java?
What does super keyword do?
Why is flag used in java?
What does int argc char * argv [] mean?
If we don’t want some of the fields not to serialize how to do that?
How do I get 64 bit java?
Can private class be extended java?
What does int [] mean in java?
What is the difference between the boolean & operator and the && operator in java programming?
Can a singleton class be inherited?
What is instance example?
What is a for loop in java?