JAVA
Part 3 – An Alarm Clock
• In this part you are adding a new class AlarmClock that willuse your Alarm class, which uses the ClockDisplay12 class, which inturn uses NumberDisplay.
• You will not be changing Alarm, ClockDisplay12 orNumberDisplay, just adding AlarmClock.
• An AlarmClock object is made up of a ClockDisplay12 object,representing the current time, and an Alarm object represting thealarm (time and whether or not it’s set).
• The AlarmClock class has the following methods:
o A default constructor (no parameters) that sets the clock tomidnight, the alarm to midnight, and the alarm off.
o A constructor with 7 parameters: The hours, minutes,
PayPal Gateway not configured
PayPal Gateway not configured