// fig09_07.cpp // Demonstrate when base-class and derived-class // constructors and destructors are called. #include using std::cout; using std::endl; #include "point2.h" #include "circle2.h" int main() { // Show constructor and destructor calls for Point { Point p( 11, 22 ); } cout << endl; Circle circle1( 4.5, 72, 29 ); cout << endl; Circle circle2( 10, 5, 5 ); cout << endl; return 0; }