![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Specialization, Extension, and Inheritance - slide 11 : 40 |
![]() | The class Point3D which extends class Point3d. |
![]() | A client of the classes Point2D and Point3d. |
![]() | The output from the Client program. |
![]() | Point3D: A client or a subclass of Point2D? |
The class Point2D was a convenient starting point of the class Point3D
We have reused some data and operations from class Point2D in class Point3D