试题题干
完成程序题:请按空格顺序填写答案。
使程序的输出结果如下:
Parent::Parent( )called.
Child::Child( )called.
Child::~Child( )called.
Parent::~Parent( )called.
完成程序题:请按空格顺序填写答案。
使程序的输出结果如下:
Parent::Parent( )called.
Child::Child( )called.
Child::~Child( )called.
Parent::~Parent( )called.