Explore BrainMass
Share

Explore BrainMass

    Java program to serialize and deserialize books data

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Write a Java program to do the following:

    a. Serialize the following three books into a byte file with name (Books.ser).
    ISBN TITLE #PAGES
    1111 The Sky Is Not the Limit 254
    7322 A Brief History of Time 730
    9905 Letters from the Field 147

    b. Deserialize file (Book.ser) and find the book with maximum number of pages.

    c. Write that one record you find in (b) into a new text file (MaxBook.txt).

    © BrainMass Inc. brainmass.com October 10, 2019, 6:57 am ad1c9bdddf
    https://brainmass.com/computer-science/java/java-program-serialize-deserialize-books-data-562277

    Attachments

    Solution Preview

    Java version 1.7.0_21 was used during development and testing of this program. Solution implements the required functionality via main function ...

    Solution Summary

    Solution implements the required functionality via main function added to provided Book class, however you can create a BookTester class based on the main function added to your Book class.

    $2.19