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 / naveen.bav
Hello Venkatesh, I am not asking for synchronization. I am
asking how TreeMap will sort the values inside it.Thanks
for the reply
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What will be the output of round(3.7) and ceil(3.7)?
Explain java coding standards for constants?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
Explain when noclassdeffounderror will be raised ?
Which class cannot be a subclass in java?
What is difference between core java and java ee?
What is singleton class in java and how can we make a class singleton?
Which non-unicode letter characters may be used as the first character of an identifier?
Which collection does not allow duplicates in java?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Discuss about garbage collector in Java.
Which access specifier can be used with class ?
How do you declare an empty string?
Is it possible for yielded thread to get chance for its execution again ?
What access modifiers can be used for methods?