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 many bits is a double?

947


What is double in java?

932


How many types of exception can occur in a java program?

929


What are the types of collections in java?

1003


Which access specifier can be used with class ?

945


What lambda means?

939


What is difference between hashset and hashmap?

1054


Explain notifyall() method of object class ?

1046


What is the difference between an inner class and a sub-class?

943


What is equlas() and hashcode() contract in java? Where does it used?

1055


What is use of static method?

992


What is identifier give example?

975


What is %02d?

1038


Can we override static methods in java?

1016


Can string be considered as a keyword?

991