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 / sunny

We will have to assume that the names are going to be
unique. We may have a situation, that one number is common
for husband & wife or between friends etc. I mean, there is
a possibility, right? And normally you get the name of the
person and you have to find the phone number (I dont think
its going to be the other way round...in normal cases).
Then we need to have the name as the "Key", rather than
as "Value". Let me know, your thoughts on the same. Thanks.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between abstract class and interface in java?

997


What is a method header?

1032


Explain the concept of proper inheritance?

1076


Can a hashset contain duplicates java?

985


What is covariant return type?

1120


How does hashset work in java?

1135


what is mena by object block any what is the use of that

2216


What does you mean in math?

1101


Can you give names of Container classes?

2315


What is the functionability stubs and skeletons?

1165


What are the steps that are followed when two computers connect through tcp?

999


Are registers volatile?

942


What is internal iteration in java se 8?

1212


What is stringwriter?

965


How do you escape sequences in java?

1079