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
Why declare Main() method as a static in java ?
What is return type in java?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What is the map interface in java programming?
What is a treemap in java?
What is the largest long allowed by java?
What is constant in programming?
What is the biggest integer?
What does index mean in java?
What is the difference between comparison done by equals method and == operator?
Which method cannot be overridden in java?
What are void methods?
What is ternary operator in java?
What are the restrictions imposed on method overriding?
Is array serializable java?