//基类: #include class Animal() { public: Animal(int height,int weight) { cout<<"Animal"< 系统就会去调用父类的带参数的构造函数去构造对象.