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

What are peerless components?

720


What method is used to specify a container's layout in java programming?

652


How do you bind variables?

642


What is difference between printf and scanf?

603


What do you understand by the term string pool?

646






What access modifiers can be used for class ?

641


What is a class reference?

649


What is a function argument in java?

610


How can a gui component handle its own events in java programming?

633


what is a thread pool in java and why is it used?

617


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1186


What is diamond operator in java?

587


Can we make the abstract methods static in java?

672


What is the maximum size of list in java?

634


What is the meaning of variable in research?

646