/* Author: James Tam Version: October 19, 2015 Learning: Defining a new class that is derived from the base Person class. */ public class Hero extends Person { private int heroicCount; public Hero() { heroicCount = 0; } public void doHeroStuff() { System.out.println("Saving the world for: truth!," + " justice!, and all that good stuff!"); heroicCount++; } }