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 keyword in oop?
What is a class variable?
why java does not support mulitple inheritance directly?
what is main difference between architecture,framework and design pattren
Can You Have Virtual Functions In Java?
Can a constructor be made final?
What is the function of http?
What is main in java?
What is singleton class and how can we make a class singleton?
What are the differences between wait() and sleep()?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
what is the use of Clonable,and serializable interface?