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 do you store phone numbers using java collections

Answer Posted / saikatk

Sorry,sunny i am not agree with your scenario that one
number is common for husband & wife or between friends
etc.It is not real life scenario, phone no. are always
register with single person name ,that might be possible two
or many persons have
name,if we use HashMap , the Key might be different than
name like empid or securityid or some unique parameter.
Thanks

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is append in java?

1159


Explain the difference between association, aggregation and inheritance relationships.

1084


How to sort list of list in java?

1089


What does .equals do in java?

1085


What do you mean by formatting?

992


What do you understand by java virtual machine?

1190


What is loop in java?

977


Is java 11 paid version?

981


Is there a case when finally will not execute?

1007


Are constructors methods?

1003


What do you know about the garbate collector?

1012


What is the difference between iterator and list iterator?

1030


How to obtain a performance profile of java program

1025


What are the problems faced by java programmers who don't use layout managers?

969


What is the main difference between java platform and other platforms?

1093