What is the Set interface?

Answers were Sorted based on User's Feedback



What is the Set interface?..

Answer / ravikiran(aptech mumbai)

Set interface is the one which will provide convinience
methods to add the objects which contains no duplicates.

Is This Answer Correct ?    2 Yes 1 No

What is the Set interface?..

Answer / 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

More Core Java Interview Questions

What is the difference between jdk and jre?

0 Answers  


What are three types of loops in java?

0 Answers  


Which number is denoted by leading 0x or 0x in java?

0 Answers  


Briefly explain the term Spring Framework

1 Answers  


What lambda means?

0 Answers  






What is string literal in java?

0 Answers  


What is the life cycle of Servlet?

3 Answers  


What do you understand by private, protected and public?

0 Answers  


What is replaceall in java?

0 Answers  


When is an object subject to garbage collection?

0 Answers  


Why for each loop is used?

0 Answers  


What flag up means?

0 Answers  


Categories