Question: ***17.9 (Address book) Write a program that stores, retrieves, adds, and updates addresses as shown in Figure 17.20. Use a fixed-length string for storing each


***17.9 (Address book) Write a program that stores, retrieves, adds, and updates addresses as shown in Figure 17.20. Use a fixed-length string for storing each attribute in the address. Use random-access file for reading and writing an address. Assume the sizes of the name, street, city, state, and Zip are 32, 32, 20, 2, and 5 bytes, respectively. e 17.20 8 0 Exercise17_09 ,7 Name John Smith Street 100 Main Street City Savannah State CA Zip 31412 Add First Next Previous Last Update Solve the problem 17.9 in Liang with the following simplified requirements: 1. You do not have to use JavaFX 2. You do not have to use random access file, instead you can use ObjectinputStream and ObjectOutputStream - see examples in the slides. 3. Your program must have two classes: one that writes a set of addresses into a binary file, and one to read them from binary file into an array of addresses. As you can see, your program will be a very simplified version of the solution for 17.9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
