【单选题】已定义类A: class A { ptivate: int x; protected: int y; public: int z; A(int p1, int p2, int p3) { x = p1; y = p2; z = p3; } // 构造函数 }; 再定义派生类B: class B : public A { private: int a; public: // 定义...
A.
B(int p1, int p2, int p3, int p4) { x = p1; y = p2; z = p3; a = p4; }
B.
B(int p1, int p2, int p3, int p4) { A(p1, p2, p3); a = p4; }
C.
B(int p1, int p2, int p3, int p4) { a = p4; }
D.
B(int p1, int p2, int p3, int p4) : A(p1, p2, p3) { a = p4; }
【简答题】情景对话。 A. What do you like to do in your free time? B. My uncle is C. I like eating fish. D. We sometimes go fishing E. Dad is taking us out in the car. F. Who cooks the fish G. I will go out wit...