Difference between treemap & sortedset

Answer Posted / amit kumar

1.Treemap is a class which has implemented SortedMap
interface where as Sortedset is an interface which has been
implemented by Treeset class.
2. Treemap can contain the duplicate value but the Treeset
which has implemented Sortedset can not hold duplicate
value.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the technologies a java developer must know?

467


What is the ear file?

531


How is java development environment setup?

468


What is frame in java?

492


Which compiler is used in java?

474






Define thin client?

507


Why is java robust?

647


What type of code is java?

509


What is use of final keyword in java?

497


What is context attribute?

551


What is 'applet container' ?

612


What is jaap?

541


Describe the ear, war, and jar.

515


Which is best eclipse for java?

482


What is java advanced?

495