/* Author: James Tam Version: March 4, 2021 */ public class Driver { public static final void main(String [] args) { //Not allowed, if instantiated directly what would happen if the //abstract method workout() was called? //TheoreticalPerson tp1 = new TheoreticalPerson(); Person p1 = new Person(); WeekendWarrior wwp2 = new WeekendWarrior(); Athlete ap2 = new Athlete(); System.out.println("Full rested states"); System.out.println("\t"+ p1); System.out.println("\t"+ wwp2); System.out.println("\t"+ ap2); System.out.println("The effects of training"); p1.workout(); wwp2.workout(); ap2.workout(); System.out.println("\t"+ p1); System.out.println("\t"+ wwp2); System.out.println("\t"+ ap2); } }