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
What is meant by collection in java?
Can you give few examples of final classes defined in java api?
Explain when noclassdeffounderror will be raised ?
What is a treeset class?
What is hashmap and map?
How many digits can a float hold?
What is parse method?
Can we start a thread twice in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
what is bmg file and how to create that files?what will it contailn?
What is remote method invocation (rmi)?
Why are the destructors for base class and derived class called in reverse order when the program exits
Can an interface have a class?
Is it safe to install java on my computer?
Convert a BST into a DLL and DLL to BST in place.