Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you compare arrays in java?

958


Explain constructors and types of constructors in java.

1121


Can inner class be public in java?

1029


What is method reference?

991


What is arraylist e in java?

1066


do I need to use synchronized on setvalue(int)? : Java thread

1021


Can we call thread start () twice?

971


What is intern method in java?

1090


Define inheritance?

1022


Is vector ordered in java?

1005


What do you mean by chromounits in java8?

963


Can we override constructor?

1036


What is parameters example?

1041


Why is singleton instance static?

1003


Does importing a package imports its sub-packages as well in java?

980