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
what is the constructor and how many types of constructors are used in java?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is size of int in java?
Can we declare an array without size in java?
State differences between C and Java?
What is a java lambda expression?
What is the use of java?
Is java a compiler?
Can we compare two strings in java?
What are the advantages of assembly language?
What is difference between final and immutable?
What are instance variables?
What are inbuilt functions in java?
What are local variables?
Explain purpose of sleep() method in java?