Can set contain duplicates?
Answer / Nandeshwar Dubey
No, Sets in Java do not allow duplicate elements. If you add a duplicate element to a Set, it will be ignored.
| Is This Answer Correct ? | 0 Yes | 0 No |
whats the difference between == and .equal ?
What exceptions occur during serialization?
Why Java doesn’t support multiple inheritance?
What are the four corner stones of oop?
How many ways can we create singleton class?
what is meant by abstract class?
Can applet in different page/s communicate with each other?
what is the use of Clonable,and serializable interface?
What is a flag variable?
What is arraylist class in java?
What is UNICODE?
Difference between this() and super() ?