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

how to create constants in java?

1126


What is linked hashmap and its features?

1073


Why is flag used in java?

1135


What are reference variables in java?

1177


If you do not want your class to be inherited by any other class. What would you do?

1071


What is passed by reference and pass by value ?

1082


What are the steps involved to create a bean?

1214


what is object slice?

2162


What is the default size of load factor in hashing based collection?

1105


Is arraylist zero based?

1114


Give few difference between constructor and method?

1023


What are aggregate functions explain with examples?

1110


Why main() method is public, static and void in java ?

1139


What is substring in java?

1300


What does business logic mean?

1048