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 role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
How to sort a collection of custom Objects in Java?
How do you replace all in word?
Explain method overloading?
What does exclamation mean in java?
what is recursion in java
What are thread groups?
What is static keyword?
what is meant by HQL?
How do you generate random numbers in java?
What is the main difference between java platform and other platforms?
What is boolean law?
what do you understand by synchronization? : Java thread
What is called module?
what is session in java?