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...

If set accepts only one argument then how can it compare
two objects to avoid duplicates

Answer Posted / maankutti

need to overload < operator

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain restrictions on using enum?

1069


What modifiers are allowed for methods in an interface?

1154


What is static synchronization?

1101


What is the use of set in java?

1120


How do you sort in descending order in java using collections sort?

889


Is java a software?

943


What does sizeof return?

982


What is tree in java?

914


What is singleton class and how can we make a class singleton?

1098


How can we achieve thread safety in java?

1143


What is the significance of listiterator?

1094


What is pojo class in java?

1088


Is main a keyword in java?

954


What do you mean by stack?

1148


What is int lol?

1134