結果 : creating a derived class object in c++