(Restore objects from a file) Suppose a file named Exercise19_07.dat has been created using the ObjectOutputStream. The file contains Loan objects. The Loan class in Listing 10.2 does not implement Serializable. Rewrite the Loan class to implement Serializable. Write a program that reads the Loan objects from the file and computes the total loan amount. Suppose you don’t know how many Loan objects are in the file. Use EOFException to end the loop.
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.