Answer Posted / neeti
the set inteface does'nt allow duplicate
elements.therefore,the add() method return false if an
attempt is made to add duplicate elements to a set.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Do we need to manually write Copy Constructor?
What is the private method modifier?
How do you classify Dialog Box?
Why spring singleton is not thread safe?
how we can make a write-only class in java?
What sorting algorithm does javascript use?
What is a final class in java?
What is get () in java?
What is the importance of finally block in exception handling?
What is anagram word?
How many characters is 16 bytes?
How use .contains in java?
How do you execute a thread in java?
What is jagged array in java?
Can a class have multiple constructors?