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 Unicast and Multicast object? Where we will use?

1 Answers   Scope International,


Can finally block be used without a catch?

0 Answers  


Why inputstreamreader is used in java?

0 Answers  


Which java collection does not allow null?

0 Answers  


What are the differences between throw and throws?

0 Answers  


What is the difference between variable & constant?

0 Answers  


What is google full form?

0 Answers  


What is difference between abstract class & final class

7 Answers  


What string is utf8?

0 Answers  


diff between abstract methods and interfaces with programing (code) example?

2 Answers  


Where is the find and replace?

0 Answers  


Is singleton a bad practice?

0 Answers  


Categories