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
Which of the classes will have more memory allocated?
What are the special characters?
Are true and false keywords?
What is string in java is it a data type?
How do you avoid global variables?
What is local class in java?
How do you reverse a string in java?
Why java is considered as platform independent?
What is navigable map in java?
5 Coding best practices you learned in java?
what are Hostile Applets?
What does it mean that a method or field is “static”?
How do you start a new line in java?
How can u increase the heap size in the memory?
What is concurrent hashmap and its features?