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
How do you compare arrays in java?
Explain constructors and types of constructors in java.
Can inner class be public in java?
What is method reference?
What is arraylist e in java?
do I need to use synchronized on setvalue(int)? : Java thread
Can we call thread start () twice?
What is intern method in java?
Define inheritance?
Is vector ordered in java?
What do you mean by chromounits in java8?
Can we override constructor?
What is parameters example?
Why is singleton instance static?
Does importing a package imports its sub-packages as well in java?