how do you store phone numbers using java collections
Answer Posted / rajeev
Hash map is only the answer to solve this type of problem....
HashMap hs=new HashMap();
hs.lateral={"Ankit Arora","9897655434"};
like this we can store the number using hash map table.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Explain java coding standards for constants?
What is java argument list?
what is meant by Byte code concept in Java?
What is an off by one error in java?
How many bits is a double?
What is the collections api in java programming?
Can an object be null?
Explain about member inner classes?
what is the purpose of the runtime class?
What are the main features of java?
What is meant by string is immutable?
Does java support Operator Overloading?
What is the class in java?
What is array initialization in java?
How to sort an array in java without using sort method?