/* An inheritance example from Java Gently (3rd Edition) by Judith Bishop. */ public class Nature { protected String name; public Nature (String n) { name = n; } public String toString () { return name; } }