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 use of protected in java?
Can a static class have a constructor?
What is the use of string and stringbuffer?
Why do we need wrapper classes?
What is the use of flag?
What invokes a thread's run() method in java programming?
What’s meant by anonymous class?
How do you sort arraylist in descending order?
Why heap memory is called heap?
What is t type java?
What are the 6 functions?
What is the difference between delete and delete[]
What is the difference between a scrollbar and a scrollpane?
How does java enable high performance?
Is null == null in java?