Question: Using Java create a class with two fields name and year of birth; Create two app menu items: 1. Write a list of 3 instances
Using Java create a class with two fields "name" and "year of birth"; Create two app menu items: 1. Write a list of 3 instances of this class with any data to a file. Save the file in a zip archive. Write in console "Data successfully saved"; 2. If zip exist read all objects from the archive and show their names on the screen.
Provide full source code and step-by-step explanation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
