how do you store phone numbers using java collections
Answer Posted / saikatk
Sorry,sunny i am not agree with your scenario that one
number is common for husband & wife or between friends
etc.It is not real life scenario, phone no. are always
register with single person name ,that might be possible two
or many persons have
name,if we use HashMap , the Key might be different than
name like empid or securityid or some unique parameter.
Thanks
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is append in java?
Explain the difference between association, aggregation and inheritance relationships.
How to sort list of list in java?
What does .equals do in java?
What do you mean by formatting?
What do you understand by java virtual machine?
What is loop in java?
Is java 11 paid version?
Is there a case when finally will not execute?
Are constructors methods?
What do you know about the garbate collector?
What is the difference between iterator and list iterator?
How to obtain a performance profile of java program
What are the problems faced by java programmers who don't use layout managers?
What is the main difference between java platform and other platforms?