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 to create constants in java?
What is linked hashmap and its features?
Why is flag used in java?
What are reference variables in java?
If you do not want your class to be inherited by any other class. What would you do?
What is passed by reference and pass by value ?
What are the steps involved to create a bean?
what is object slice?
What is the default size of load factor in hashing based collection?
Is arraylist zero based?
Give few difference between constructor and method?
What are aggregate functions explain with examples?
Why main() method is public, static and void in java ?
What is substring in java?
What does business logic mean?