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 are JVM.JRE, J2EE, JNI?
Can we have a method name same as class name in java?
What is generic class?
Differentiate jar and war files?
Which is easier netbeans or eclipse?
Explain about java sdk?
Can sleep() method causes another thread to sleep?
What do you mean by of string::valueof expression in java 8?
Is treeset sorted in java?
What does the exclamation mark mean in java?
What is a method declaration?
What is difference between this and super keyword?
What is the purpose of declaring a variable as final?
How do you include a string in java?
What is listnode in java?