How can you eliminate duplicates?
Answers were Sorted based on User's Feedback
Answer / deepak kumar sungh
Any Set. set always contains unique elements. However, you
must take care in case of objects where you need to define
the hashCode and equals method
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the base class for error and exception?
What is the purpose of the strictfp keyword?
Which class should you use to obtain design information about an object
How big is a pointer?
Can we clone singleton class in java?
Is constructor inherited?
What primitive Java types? Howmany are they and what are their names?
write a progam hashmap & hashtable?
What is the internal implementation of set in java?
Which is faster string or stringbuilder?
What is void class in java?
What is clipping?