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 is java logo a cup of coffee?
Should database connections be singleton?
What’s the difference between callable and runnable?
What are user defined exceptions?
What is the difference between assignment and initialization?
Does java runtime require a license?
What are predefined functions?
What is get () in java?
What is http client in java?
What do you mean by stack?
What is the difference between state-based unit testing and interaction-based unit testing?
How do you insert a line break?
Is java same as core java?
How do you identify if jvm is 32-bit or 64-bit from java program?
What is 16 bits called?