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 / ankur dhoot

Shahnawaz Sheikh---sorry to say but don't you think that ur
ans is having some flaw...u r correct that phone no can be
store in HasMap but u have taken name as key but name can be
repeated while ph no is unique so don't u think that phone
no should be key in upper hash map.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why singleton is not thread safe?

962


What is string buffer?

917


What is an immutable object? How do you create one in java?

1034


Is break statement can be used as labels in java?

937


What is off heap memory?

964


What is difference between string and stringbuffer?

1037


What is a treeset in java?

1010


What is the protected method modifier?

1018


Does A Class Inherit The Constructors Of Its Superclass?

1029


What is the difference between preemptive scheduling and time slicing?

1034


What do you understand by an io stream?

1015


Is it possible for a yielded thread to get chance for its execution again?

920


Explain the private protected method modifier?

936


Is it possible to override private or static method in java?

969


Is static a singleton?

939