// Page 201-203 public class ExtTime extends Time { private String zone; public ExtTime() { super(); zone = "EST"; } public ExtTime(int h, int m, int s, String z) { super(h, m, s); zone = z; } public void set(int h, int m, int s, String z) { set(h, m, s); zone = z; } // increment () is inherited from the Time class public void writeOut () { super.writeOut(); System.out.print(" " + zone); } public boolean equal (ExtTime other) { return (super.equal(other) && zone.equals(other.zone)); } }