A Bare Bones** solution for a program with four classes, with inheritance.

Scenario: An event for contestants, some with disabilities and some without. Create an array of contestant objects; Contestants is the superclass with ContestantsP being the subclass (contestants with disabilities who therefore have two extra properties/fields)

  1. The UI class with the main method
  2. The Manager class with all the relevant methods
  3. The Contestants class – the superclass – without disabilites
  4. The ContestantsP class – the subclass – with disabilities

Click here for the solution

** Bares Bones – the bare minimum – the smallest solution that will run afterwhich you can read in the text file and code the full solution according to the question.