Question: 3. Create a BookStore Class . Contains a main method 2. Creates an ArrayList of type Reference a. Creates two Book object that are read
3. Create a BookStore Class . Contains a main method 2. Creates an ArrayList of type Reference a. Creates two Book object that are read from serialized files. Each object is stored in its own file, the file names are book1.dat and book2.dat 1. Using a loop that iterates through the ArrayList 2. Print out the reference information for each Reference in the ArrayList, such as Savitch, 2016. . The loop must work for any size ArrayList 4. The loop must work for any type of Reference object not just Book objects. 4. Create a third Book object. s. Serialize the new Book object to a file called book3.dat No comments or import statements required
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
