【单选题】有如下程序: #include<iostream> using namespace std classA { public: A(){cout<<'A'} } class B{public:B(){cout<<'B'}} class C:public A { B b public: C(){cout<<'C'} } int main(){C objreturn 0} 执行后的输出结果是( )
【单选题】Given the following code: 1)class Person { 2) public void printValue(int i, int j) {/*…*/ } 3) public void printValue(int i) {/*…*/ 4) } 5) public class Teacher extends Person { 6) public void pri...