Question: Create a reader class that reads all the data from the file and displays this. This is a separate class and program. Create 2 exception
Create a reader class that reads all the data from the file and displays this. This is a separate class and program.
Create exception classes
MonthException thrown for invalid months
DayException thrown for invalid days for the given month
You can assume Feb is always days
Additionally, all classes must follow rules and conventions covered in class. This includes ideas on the topics of inheritance, encapsulation, exceptions, file writting etc. use java and make it simple
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
