Object-Oriented Programming in Java - Andrew.cmu.edu

Implement the inheritance hierarchy shown in Figure 1 in Java[1]. Have Point class, Circle class and Cylinder class in a single file named Homework3_1.java. Have the Homework3_1 class to create point, circle and cylinder objects, print them out via their toString() methods.


part of the document



....