/* Author: James Tam Version: October 19, 2015 Learning: Method overriding: implementing a new version of a method in the child class. */ public class Hero extends Person { private int heroicCount; public Hero() { heroicCount = 0; } public void doPersonStuff() { System.out.println("Pffff I need not go about mundane" + " nicities such as eating!"); } public void doHeroStuff() { System.out.println("Saving the world for: truth!," + " justice!, and all that good stuff!"); heroicCount++; } }