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
What is the difference between a vector & an array list?
Why is it called boolean?
What is exception propagation?
How do I find and replace in word?
In a class implementing an interface, can we change the value of any variable defined in the interface?
What is an interface in java?
Explain when classnotfoundexception will be raised ?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
Explain access modifiers in java.
What are different types of expressions?
What is instance synchronization?
List types of storage classes in java?
What do you mean by collectors in java 8?
What is your platform’s default character encoding?
Where is const variable stored?