How to eliminate duplicates from an array?
Answer Posted / vijaya bhaskar teegala
use linkedHashSet.It will maintain the insertion order
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why are arrays useful in java?
What are advantages of using Java?s layout managers than windowing systems?
what is the difference between a threads start() and run() methods? : Java thread
What are the two types of java programming?
What is java dot?
Is static a keyword in java?
can java object be locked down for exclusive use by a given thread? : Java thread
Is empty set an element of empty set?
What does system.gc() and runtime.gc() methods do?
What are static methods?
What is square root in java?
Explain abstract class in java?
why not override thread to make a runnable? : Java thread
What is the difference between jdk, jre, and jvm?
What is javac used for?