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
How many bits is a double?
What is double in java?
How many types of exception can occur in a java program?
What are the types of collections in java?
Which access specifier can be used with class ?
What lambda means?
What is difference between hashset and hashmap?
Explain notifyall() method of object class ?
What is the difference between an inner class and a sub-class?
What is equlas() and hashcode() contract in java? Where does it used?
What is use of static method?
What is identifier give example?
What is %02d?
Can we override static methods in java?
Can string be considered as a keyword?