Question: Java Assignment Using Java Date and Time libraries, create a new class called CalendarHelper. This class should do the following: Create a list of five
Java Assignment
Using Java Date and Time libraries, create a new class called CalendarHelper.
This class should do the following:
- Create a list of five dates that are holidays (ex: December 25)
- Ask the user for their birthday and add it to this list
- Print the current date
- Display the days remaining until all holidays in the list (ex: if the current day is December 10, there are 15 days remaining until Christmas)
- Alert the user which holiday is coming soonest
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
