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 maximum size of arraylist in java?

721


What is the requirement of thread in java?

832


How many ways can you break a singleton class in java?

726


What is a module function?

813


What is general methodology?

810


Does isempty check for null?

781


what is anonymous class in java?

766


What is the full name of java?

818


Do I need java on my computer?

747


What is meant by method?

799


What will happen if a thrown exception is not handled?

759


What are three ways in which a thread can enter the waiting state in java programming?

919


What is the list interface in java programming?

800


Is java a utf 8 string?

750


What does file separator do in java?

756