你可能感兴趣的试题
obj.fun1( ); obj.varl; obj.fun2( ); obj.fun3( );
Base
Base Base
Derived Derived
Base Derived
Derived
obj.fun1( ); obj.varl; obj.fun2( ); obj.fun3( );
类Koala是类Animal的派生类 类Koala中的Name函数是一个虚函数 类Animal中的Name函数是一个纯虚函数 语句"Animal a;"能够建立类Animal的一个对象a
obfunl(); obvarl; obfun2(); obfun3();
obfun1(); obvarl; obfun2(); obfun3();
obj. fun1(); obj. fun2(); obj. fun3(); obj. fun4();
obj.fun1(); obj.var1; obj.fun2(); obj.fun3();
Base Base Base Derived Derived Base Derived Derived
obj. funl(); obj. fun2() ; obj. fun3() ; obj. fun4() ;