Difference between treemap & sortedset

Answer Posted / pradip patil

TreeMap is implements Map interface it holds key and value pair and it doest allow duplicate keys where as it allows duplicate values.
TreeSet implements Set interface and it doesnt allow duplicats elements.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is core java and j2ee?

672


What is certificate authority?

736


How is java development environment setup?

656


Is java safe to download?

644


What is asant?

780


What is java ee server?

641


What is content?

780


you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?

2369


What is java actionlistener?

653


What is delegation?

716


Is java is a technology?

695


What is the best java course?

711


Which server is best for java?

651


On which platform j2ee is based?

720


What is archiving?

711