Answer Posted / 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 |
Post New Answer View All Answers
What is numeric data type?
What are the drawbacks of reflection?
How does map works in java?
How do you clear an arraylist in java?
Why set do not allow duplicates in java?
What is the purpose of default constructor?
According to java operator precedence, which operator is considered to be with highest precedence?
Which is faster set or list in java?
What is difference between == equals () and compareto () method?
What is the functionality of the stub?
What are the types of java?
Does java support Operator Overloading?
Difference between throw and throws?
What is currentthread()?
Why is inheritance used in java?