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


Please Help Members By Posting Answers For Below Questions

Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

1773


java program with complete 4 oops concepts implemented example

2938


What is the use of hashmap in java?

798


Why we override equals() method?

791


Why doesn't the java library use a randomized version of quicksort?

767


What are 3 boolean operators?

751


What is the base class of all exception classes in java?

811


How do you write a good declaration?

712


Can a constructor call another constructor?

774


Write a program in java to establish a connection between client and server?

733


Give the hierarchy of inputstream and outputstream classes.

841


How much ram can a 64 bit processor theoretically?

687


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1821


What is a method type?

742


What is return code?

780