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 a JAR file?

1037


Explain the features of java?

1009


What is a boolean field?

951


How do you control extraneous variables?

910


What is the final method?

1067


What is the mapping mechanism used by java to identify IDL language?

1001


What is an abstract method in java programming?

1031


What is float in java?

983


What is the purpose of tostring() method in java?

1144


Can a main method be overloaded?

1014


What is meant by memory leak?

1063


What are the advantages of encapsulation in java?

1001


How can you share data between two thread in Java?

932


Difference between association, composition and aggregation?

966


What are the major advantages of internal iteration over external iteration?

1039