【简答题】下面程序输出的结果是【 】。 include <iostream> using namespacc std; class A { public: void show(){tout<<'A!';} }; class B: public A{ public: virtual void show(){cout<<'B!';} }; class C: public B{ public: virtual v...
【单选题】下面程序段的输出结果是 class Test{ public static void main(String args[]){ MyThread t=new MyThread(); t.displayOutput('t has been createD) '; t.start(); } } class MyThread extends Thread{ public void displayOutp...
【单选题】下面程序段的输出结果是 class Test{ public static void main(String args[]){ MyThread t=new MyThread(); t.displayOutput('t has been created)); t.start(); } } class MyThread extends Thread{ public void displayOutpu...
【简答题】下面程序的输出结果是【 】。 include <iostream> using namespace std; class base { protected: int a; public: base(){cout<<'0':} }; class basel: virtual public base { public: base1(){ cout<<'1';} }; class base2 : vir...