Why Set interface contains unique elements, what internally
implemented for this so that it contains unique elements?
Answer Posted / jayakumar
because it implement hashcode and equals method implicitly
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Is string passed by reference in java?
What is mysql driver class name?
What is command line argument
Which data type is class in java?
Can long be null in java?
Is java an open source?
What is string made of?
What is a functional interface?
What is ternary operator? Give an example.
Is singleton set an interval?
Where to store local variables?
Write a program to find maximum and minimum number in array?
Can we execute a program without main?
Explain the concept of proper inheritance?
Why map is used in java?