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 a treeset class?
How do you create an array in java?
Can we assign the reference to this variable?
Is java an ide?
What is the base class of all classes?
Explain the concept of hashtables?
what is difference between equals and ==?
What is an 8 bit word?
What is a linkedhashmap java?
What’s the difference between unit, integration and functional testing?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is a wrapper method?
What is module with example?
What is the purpose of the file class in java programming?
What are the advantages of autoboxing?