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 / malligontla
Tree Map working according to the Ascending order.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
why Java does not support multiple inheritances?
What is a linkedhashmap java?
when to use ArrayList and when to use HashMap in webApplication.
Difference between vector and arraylist.
What does this mean java?
When is finally block not called?
Why method overriding is used?
What interface is extended by awt event listeners?
What is the function of log?
Why is whitespace important?
What are the restriction imposed on a static method or a static block of code?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What are the main differences between notify and notifyAll in Java?
What is a Hash Table? What are the advantages of using a hash table?
What is overriding in java?