【单选题】如下程序的输出结果是 #include<iostream> using namespace std; class Test{ public: Test( ){n+=2;} ~Test( ){n-=3;} static int getNum( ){return n;} private: static int n; }; int Test::n=1; int main( ){ Test*P=new T...
【单选题】如下程序的输出结果是 #include<iostream> using namespace std; class A{ public: A( ){cout<<'A';} }; class B{public:B( ){cout<<'B';}}; class C:public A{ B b; public: C( ){cout<<'C';} }; int main( ){C obj;return 0;...