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
Can we restart a dead thread in java?
Why do I need to declare the type of a variable in java?
What is meant by bytecode?
What's the base class in java from which all classes are derived?
Which is better stringbuilder or stringbuffer?
How to perform bubble sort in java?
What is connection class in java?
Which programming language is most secure?
Can a singleton class be inherited?
What is meant by class loader? How many types are there? When will we use them?
What is passed by reference and pass by value ?
What is the purpose of return statement?
Do loops java?
What is an example of character?
What is an i/o filter?