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
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
What is percentage in java?
What is super constructor?
What is the function of java?
What is the use of set in java?
What is a substring of a string?
Can a class be a super class and a sub-class at the same time? Give example.
Is a char always 1 byte?
What is the importance of main method in Java?
What is the size of int in 64-bit jvm?
How to sort array in descending order in java?
What is the size of an array?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is the output of the below java program?
When do I need to use reflection feature in java?