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 are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this
11 Answers IBM, L&T,
What is data type in java?
What is the primary benefit of encapsulation?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What is the latest java version?
Is node a data type in java?
Variables used in a switch statement can be used with which datatypes?
Does java have extension methods?
How to run a JAR file through command prompt?
What are internal variables?
What are thread safe functions?
What do you mean by constructor?