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 |
How will you create the class for the following scenario? Employees under one employee?
Are there any tools available in java to create reports?
What is the difference between length and length() method in java?
Can string be considered as a keyword?
What are parsers? Dom vs sax parser.
can you create interface instance ?
How can we break singleton in java?
What is the difference between class forname and new?
How to convert a string to long?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
What is ctrl m character?
What is a subsequence of a string?