/* Author: James Tam Version: October 19, 2015 Learning: Base class used to illustrate basic inheritance concepts. */ public class Person { private int age; public Person() { age = 0; } public Person(int anAge) { age = anAge; } public void doPersonStuff() { System.out.println("Eat, sleep, drink, execrete, be" + " fruitful"); } public String toString() { String s = ""; s = s + "Age of the person: " + age; return(s); } }