Question: 2. Create a Book class that applies a Reference Interface. . The book class must be serializable. 2. The Book class has the following structure
2. Create a Book class that applies a Reference Interface. . The book class must be serializable. 2. The Book class has the following structure (Do not add any additional methods) . Instance Variables . author String representing the book's author 2. year Integer representing the copyright year published a. title String representing the book's title . Constructor that takes in 3 parameters that initialize each of the three instance variables. a. Methods required by the Interface
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
