首页 试题详情
单选题

阅读以下代码,输出结果为() class A { public: virtual void a()=0; virtual ~A(){} }; class AA:public A { public: void a() { cout

A nihao2 nihao3 delete AA delete AAA delete B

B nihao3 nihao3 delete AAA delete AA delete B

C nihao2 nihao2 delete AAA delete AA delete B

D nihao2 nihao3 delete AAA delete AA delete B

正确答案:A (备注:此答案有误)

相似试题

  • 单选题

    阅读以下代码输出结果class A{public: virtual void a()=0; virtual ~A(){}};class AA:public A{public: void a() { cout

    答案解析

  • 单选题

    阅读以下代码:result = lambda x: x * x print(result(5)) 以上代码输出结果( )。

    答案解析

  • 单选题

    阅读下马代码,运行结果class cls{public: int mi ; cls(int i):mi(i) { mi = i; cout

    答案解析

  • 单选题

    阅读以下程序,当输入数据的形式:25,13,10;,正确的输出结果( )。

    答案解析

  • 单选题

    运行下面代码段,输出结果。Print(bool(‘False‘Print(bool

    答案解析

热门题库