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's the difference between comparison done by equals method and == operator?
What are constants and how to create constants in java?
Why do we need autoboxing in java?
Is char * a string?
Which containers use a flowlayout as their default layout in java programming?
Name and explain the types of ways which are used to pass arguments in any function in java.
What is the integer of 16?
What is the numeric promotion?
What is the use of flag?
What does percent mean in java?
Difference between abstract and concrete class ?
What is an iterator interface in java programming?
Why is java called java?
describe synchronization in respect to multithreading? : Java thread
What is javac used for?