How to eliminate duplicates from an array?

Answer Posted / gajendra

using hash map or treeset of collection framework

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is boolean example?

728


What is complexity in java?

730


Why is it called boolean?

741


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1823


What is final access modifier in java?

815


How many bits is a string?

729


What is math floor in java?

663


How we create object in copy constructor?

853


Describe the Big-O Notation.

796


What is anti pattern in cyber security?

727


What are variable names?

702


What is the difference between pass by reference and pass by pointer?

697


Is constructor inherited?

732


Why is the main method declared static?

835


Explain OOPs concept.

831