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
Explain the JDB in depth & command line.
Which method must be implemented by all threads?
What are identifiers in java?
Will set allow duplicates in java?
What are strings in physics?
What is hashmap and map?
What are the basic interfaces of java collections framework?
What is the difference between == and === javascript?
What is the importance of main method in Java?
how is final different from finally and finalize in java?
Explain the concept of hashtables?
Is singleton class thread safe?
What are disadvantages of java?
Explain about method local inner classes or local inner classes in java?
what is method reference in java 8?