Create an abstract class “Appointment” that represents an eventon a calendar. The “Appointment” class will have four instancevariables: • An instance variable called “year” which will be oftype int • An instance variable called “month” which will be oftype int • An instance variable called “day” which will be of typeint • An instance variable called “description” which will be oftype String The “Appointment” class must also implement thefollowing methods: • A getter and setter for each of the fourinstance variables • An abstract method named occursOn whichreturns a boolean and takes three parameters of type int: aYear,aMonth, aDay •
PayPal Gateway not configured
PayPal Gateway not configured