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
Why is stringbuffer faster than string?
What are serialization and deserialization?
how can i use a nonsynchronized hashtable?
When do you call copy constructor?
What two classes are used to read data only?
What is role of void keyword in declaring functions?
How do you read a char in java?
What will happen to the exception object after exception handling?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
Can we use both this () and super () in a constructor?
Explain the difference between static and dynamic binding in java?
What is the difference between preemptive scheduling and time slicing in java programming?
Can you explain inner class.
How large is a boolean?
What are methods and how are they defined?