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 the difference between final, finally and finalize() in java?
What is meant by design patterns?
Can a class have more than one object?
What is the use of callablestatement?
Is java util list serializable?
Why do we need data serialization?
Why is it called a string?
Is null a keyword in java?
Why hashcode is used in java?
Can an abstract class be a final class?
Can we pass a primitive type by reference in java? How
How do you sort a string in alphabetical order in java?
Can I extend singleton class in java?
What are data types in oop?
What do you understand by weak reference?