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

What is the difference between a vector & an array list?

1179


Why is it called boolean?

1015


What is exception propagation?

1143


How do I find and replace in word?

986


In a class implementing an interface, can we change the value of any variable defined in the interface?

1098


What is an interface in java?

1064


Explain when classnotfoundexception will be raised ?

1051


Add a value x to array from index l to r where 0 <= l <= r <= n-1

1097


Explain access modifiers in java.

1054


What are different types of expressions?

1128


What is instance synchronization?

1060


List types of storage classes in java?

1162


What do you mean by collectors in java 8?

942


What is your platform’s default character encoding?

1091


Where is const variable stored?

942