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
What is sorting in java?
Can we assign the reference to this variable?
What is the difference between hashmap and hashtable? What is an interface?
What is printwriter in java?
What is the use of bufferedreader?
What are generic methods?
What are the states of thread in java?
What is the difference between equals() and == in java?
What is the covariant return type?
Can we overload final method in java?
What is string english?
What is a website container?
what is mena by object block any what is the use of that
What's the access scope of protected access specifier?
What is file in java?