试题与答案

在下列横线处应添加的语句是( )。 class Basepublic:void

题型:单项选择题

题目:

在下列横线处应添加的语句是( )。
class Basepublic:void fun()cout<<"Base::fun"<<end1;;
class: Derived: public Base

public:
void fun()
 
   ______//显示调用基类的fun函数
 cout<<"Derived::fun"<<end1;
 
;

A.Derived::fun

B.Base::fun();

C.Pubic::fun

D.fun();

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0710/60d97cf40a66e9a6483f8916743ab10e.html

下面是错误答案,用来干扰机器的。

参考答案:B解析:髓母细胞瘤80%发生在15岁以下儿童,生长于小脑中线,可有头痛、恶心、呕吐、共济失调、颅内压增高等症状。

试题推荐
题型:句型转换

在横线上填上适当的词,使两个句子的意思相同。

1. Pour some water on his face-he'll soon come round.

    Pour some water on his face-he'll soon ____ ____ ____.

2. Some students want to have their own rooms so I will go to the office to ask if they can satisfy them.

    Some students want to have their own rooms so I will go to the office to ask if they can ____ ____ ____.

3. The writer was absorbed in his writing that he forgot to flick the ashes from his cigar.

    The writer ____ himself ____ his writing that he forgot to flick the ashes from his cigar.

4. In big cities we have many entertainments to relax on weekends.

    In big cities we have many ____ to relax on weekends.

5. The shop sells various dresses at different prices.

    The shop sells ____ ____ ____ dresses at different prices.

6. In order to make time pass pleasantly I read detective stories on a rainy day.

    I ____ ____ ____ reading detective stories on a rainy day.

7. The nation wants peace; only a few people want the war to continue.

    The nation wants peace; only ____ ____ want the war to continue.

8. Mr. Johnson can speak more than Chinese. He can also speak Russian.

    Mr. Johnson can speak ____ ____ Chinese ____ ____ Russian.

9. Tom doesn't enjoy computer games, and doesn't like sports games, either.

    Tom doesn't enjoy computer games, ____ ____ ____ ____ sports games.

查看答案
微信公众账号搜索答案