Paysum | Computer Science homework help

  

using the file layouts below, write a class called PaySum (you should already have this from assignment 7). Then write a class called Earnings that extends the PaySum class. Instance fields are to be declared as private. Provide get and set methods for each field and an overridden method for the display data method. Include a constructor method for the Earnings class that initializes the check date to the assignment due data and check number to 102375.