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 final, finally, finalize?

0 Answers  


What advantage does an entity bean have over a sessin bean?

3 Answers   Adobe,


when System.out.println("") is executed what happens in the back ground?

2 Answers  


Write a java program to print fibonacci series?

0 Answers  


How finally used under exception handling?

0 Answers  






Can array grow dynamically in java?

0 Answers  


can anyone explain me the concept of autoboxing?

3 Answers  


What is the difference between serializable and externalizable interface?

0 Answers  


I want to persist data of objects for later use. What’s the best approach to do so?

0 Answers  


Can we define private and protected modifiers for variables in interfaces?

0 Answers  


IS method overriding is Duplication of Methods?

5 Answers   CybAge,


Write a program to print fibonacci series

0 Answers  


Categories