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
Explain about wait() method?
Can array grow dynamically in java?
What class allows you to read objects directly from a stream?
What is formatted output in java?
What is the size of int?
Why do we override tostring method in java?
Why map is used in java?
What is string in java?
What do bitwise operators do?
Explain an intermediate language?
What is set string?
Is singleton thread safe in java?
What are recursive functions? Give some examples?
why would you use a synchronized block vs. Synchronized method? : Java thread
Write a program based on Java script program.