Part 2 – An Alarm
• In this part you are adding a new class Alarm thatwill use your ClockDisplay12 class, which in turn usesNumberDisplay.
• You will not be changing ClockDisplay12 orNumberDisplay, just adding Alarm.
• An Alarm object is made up of a ClockDisplay12 objectand a boolean flag indicating whether or not the alarm is set (truemeans it is set; false means it isn’t set).
• The Alarm class has the following methods:
o A default constructor (no parameters) that sets the clock tomidnight and the alarm off.
o A constructor with 4 parameters: The hours, minutes, Stringfor am or pm, and a boolean
PayPal Gateway not configured
PayPal Gateway not configured