Answer Posted / deepak kumar sungh
Any Set. set always contains unique elements. However, you
must take care in case of objects where you need to define
the hashCode and equals method
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why we go for collections in java?
How is garbage collection controlled?
What is generic type?
What type of language is java?
What are class types in java?
define polymorphism in java
Which sorting algorithm is in place?
What is locale in java?
What is replaceall in java?
What is meant by 'bit masking' in java?
Why do we use bufferedreader?
What is an 8 bit word?
Why should I use abstract class?
How can you make a class serializable in java?
What is strings in java?