How to eliminate duplicates from an array?

Answer Posted / manju

by using HashSet(Collection name)

Is This Answer Correct ?    33 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java free for commercial?

489


Can we have multiple classes in a single file?

508


What is the purpose of main function in java?

533


What is java in detail?

555


What is the synchronized method modifier?

587






What is a module function?

553


How can you read an integer value from the keyword when the application is runtime in java? example?

616


What is flush () in java?

552


which pattern is default in scanner package?

1795


What is the purpose of static keyword in java?

511


Can java run on google chrome?

567


How to sort an array in java without using sort method?

522


Explain about join() method?

537


What is the flag in java?

608


What is difference between fail-fast and fail-safe?

582