Change the definition of the class Person in Display 5.19 to be serializable. Note that this requires that you also change the class Date. Then write a program to maintain a binary file of records of people (records of type Person). Allow commands to delete a record specified by the person's name, to add a record, to retrieve and display a record, and to obtain ail records of people within a specified age range. To obtain the age of a person, you need the current date. Your program will ask the user for the current date when the program begins. You can do this with random access files, but for this exercise do not use random access files. Use a file or files that record records with the method writeObject of the class ObjectOutputStream.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.