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 |
Can we serialize singleton class?
Explain how to force the garbage collection in java.
does java support pointers?
In what ways you can handle exception ?
What is the technique adopted to create an immutable class?
What is the difference between this() and super() in java?
What is data type modifier?
What do you mean by jjs in java8?
Can we override the private methods?
What is a concrete classes? Is Java object class is concrete class?
what is meant wrapper classes?
What is constructor and its types?