LECTURE NOTES - 4/13/2005 LAST TIME 3 - subclass construction - converting between subclass and superclass types - polymorphism - Object class 6 - call on the implicit parameter can still vary - Object class - overriding the toString method - Class class - Object::getClass() method TODAY 3 - overriding the toString method all - protected - exception handling - throwing exceptions - checked and unchecked exceptions PROTECTED - would like subclass method to be able to directly access private superclass field - can declare an instance field protected instead of private - syntax: protected ; - e.g. LifeForm protected int energy; - can be accessed by methods of - class - subclasses - all classes in same package