Develop Magazine Management System OOP application with the following components and requirements.
Requirements
1. (2 marks) Define a class Magazine with the following attributes and methods
Attributes:
String title: The title of the magazine.
String publisher: The publisher of the magazine.
Date publishDate: The date the magazine was published (in the format dd/MM/yyyy).
int issueNumber: The issue number of the magazine.
int pages: The number of pages in the magazine.
Methods:
Constructors, get/set() methods, and toString().
getAge(): Calculate and return the age of the magazine in years, based on the publish date..
2.
(3.5 marks) Define the MagazineList class contain list of magazines and the following methods:
a. Read file "magazines_input.txt" and stores in List <Magazine> (if wrong data skip is not added to the list).
The format of the file "magazines_input.txt" is as follows and the magazines input.txt file is provided with this
exam.
+ 100%
Zoom
Close