Accenture Interview Report
- 0of 0 votes
AnswersPhonebook contains number and name.
- Anonymous December 12, 2012 in India
1.use the java collection to add these entry (name and string).
2.Search the name by number
3.Remove the entry (name and string ) by using name.
I need to do this in Java...But if you can suggest me some Collection that can be used here, I shall do that....
I thought of :
1.using Hashmap,but here both name and number will be key....which wont be good...
2.Another option is to wrap both phone and number in an object and then add them to the list.And then Iterating and adding to the list.
Any other suggestions..?| Report Duplicate | Flag | PURGE
Accenture Software Engineer / Developer Java - 0of 0 votes
AnswersPrint below series in java
- Anonymous December 12, 2012 in India
*** 1***
**2 *2**
*3*3*3*
4*4*4*4| Report Duplicate | Flag | PURGE
Accenture Software Engineer / Developer Java
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.