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 can you eliminate duplicates?

Answer Posted / deepak kumar sungh

Any Set. set always contains unique elements. However, you
must take care in case of objects where you need to define
the hashCode and equals method

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a local, member and a class variable?

1035


Say any two properties in beans?

1061


How do you create a null object?

1083


What is a function easy definition?

1006


Why is stringbuffer thread safe?

1044


What is string array?

1063


What does the @override annotation do?

1036


Explain the inheritance?

969


What is generics in java interview questions?

1062


Explain creating threads by extending thread class ?

1053


What is a Hash Table? What are the advantages of using a hash table?

1084


What is the difference between comparison done by equals method and == operator?

1021


Is space a character in java?

1006


Is sizeof a preprocessor?

1002


Can keyword be used as identifier?

957