What is the Set interface?

Answer Posted / vijayakumar chinnasamy

Set is an interface in java.util package.Set does not allow
duplicate values but using set we can easily sort the
elements in ascending order using treeset.

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 the byte range?

582


What is the maximum length of a url?

514


What is the impact of declaring a method as final?

564


What are wrapper classes in java?

600


What is the difference between the prefix and postfix forms of the ++ operator?

556






What are alternatives to java serialization?

605


What is a literal coding?

514


What is instanceof keyword?

729


What is the difference between size and length in java?

514


Define linked list and its features with signature?

541


Why main function is static?

674


What is the default size of arraylist in java?

509


What do you mean by static variable?

578


What are the topics in advance java?

523


Explain about join() method?

552