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 does system out println () do?

984


How do you define a singleton class?

1041


What classes of exceptions may be thrown by a throw statement?

937


Tell me the latest versions in java related areas?

1062


How do you check if an arraylist is not empty?

1079


Can we have a method name same as class name in java?

1019


How do you get length in java?

997


What are functions in java?

920


What are the ways in which a thread can enter the waiting state?

910


What is a data structure java?

967


Can we make a constructor final?

987


What is the access scope of a protected method?

985


What is this keyword used for?

1093


What is public/private protected in java?

1013


What is the difference between checked exception and unchecked exception?

985