What is the Set interface?
Answers were Sorted based on User's Feedback
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 |
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 |
What is difference between path and classpath variables?
Difference between this() and super() ?
Can we have multiple classes in a single file?
What does jenkins do?
How many types of memory areas are allocated by jvm?
Is java programming easy?
Enlist few advantages of inheritance?
What is the difference between add() and addElement() method in Vector Class ?
What is the finalize method do?
Does list allow duplicates in java?
Can a class extend 2 classes in java?
What is ternary operator? Give an example.