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 static import in java? Explain
What is consumer interface?
What java is used for?
Which class is the superclass for every class in java programming?
What is thread pool in java with example?
What are the different tags provided in jstl?
Can a class be private in java?
What is bytecode verifier?
What is mean by collections in java?
What are parsing rules?
What is tcp and udp?
What mechanism does java use for memory management?
Can I override protected method in java?
What is java virtual machine? Explain
What is the difference between sleep and wait in java?