Assume you have a Java program that uses an ArrayList of Contactobjects stored in a class called PhoneBook. You want to use “objectserialization” to save all the contacts in a phone book to a filebetween executions of your program. How do you need to change thePhoneBook and Contact classes to enable object serialization?Explain
Expert Answer
An answer will be send to you shortly. . . . .