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 class#getinstance() and new operator ?
What is stream api in java8?
How to remove the trailing spaces from a string?
What are wrapper classes in java?
What is the formula to calculate percentage?
What does singleton class mean?
What is scope & storage allocation of static, local and register variables? Explain with an example.
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What are implicit objects in java?
What is == mean?
What is difference between this and super keyword?
What are the main concepts of oops in java?
Why main method is static in java?
What is mean by exception?
Explain all java features with real time examples