Purchase Solution

Java program to serialize and deserialize books data

Not what you're looking for?

Ask Custom Question

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).

Attachments
Purchase this Solution

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.

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 ...

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Networking Questions

This quiz consists of some basic networking questions.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.