Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

First part: Write a phoneDirectory program , three source files are given: Conso

ID: 3534743 • Letter: F

Question

First part:


Write a phoneDirectory program , three source files are given: Console.java,

PhoneDirectory.java and PhoneRecord.java; Here PhoneDirectory class is used to encapsulate the (add,

delete, find and update) methods. Implement all the methods in PhoneDirectory class and

Call these methods in Console class’ main method. Write code according to the comments in the source

code. The program can store as many records as you want, so you have to resize the array when there is no

available space.


Second part:

Replace the console.java with a GUI, the other java files remain unchanged.


Third part:

Use file as a persistent storage for contacts.



You can download the three source files at:


docs.google.com/file/d/0B5ccDw-NxQVwWUEtUHlFNE5wSm8/edit?pli=1

Explanation / Answer

Working wait