|
In this example, we have a main class called RectMaker
, which makes and uses some objects of an instantiable class called Rectangle
. It also uses another instantiable class, Point
, which we began using in a previous example.
See the Point Class Example for a detailed description of how an instantiable class in a program is related to the main class.