This document contains instructions for 6 programming assignments involving classes and inheritance in Java:
1. Define two classes ClassA and ClassB where ClassB extends ClassA. ClassB overrides one method from ClassA and hides another. The other methods are inherited without changes.
2. Define classes Square and Cube where Cube extends Square. Cube overrides the computeSurfaceArea() method to include an additional depth field.
3. Define classes CarRental and CarPhone where CarPhone extends CarRental to add a car phone option.
4. Analyze the output of a program that prints objects of classes Horse and RaceHorse where RaceHorse extends Horse and overrides the print method.
5