参考答案和解析
参考答案: 错误
更多“How many milk is there in the cup?() ”相关问题
  • 第1题:

    有如下类定义:\nclassPoint{\nprivate;\nstaticinthow_many;\n};\n___________how_many=0;\n要初始化Point类的静态成员how_many,下划线处应填入的内容是

    A、ing

    B、staticint

    C、intPoint::

    D、staticintPoint::


    参考答案:D

  • 第2题:

    有如下类定义: class Point{ private: static int how_many; }; ______how_many=0; 要初始化Point类的静态成员how_many,下划线处应填入的内容是

    A.int

    B.static int

    C.int Point: :

    D.static int Point


    正确答案:C
    解析:static int n;是定义静态全局变量,int point是定义类的。

  • 第3题:

    Examine the following options, Multicasting supports applications that communicate.()

    A. many - to - one

    B. one - to - one

    C. one - to - many

    D. many - to - many


    参考答案:C

  • 第4题:

    We Chinese like to drink tea __________ milk.

    A.in

    B.on

    C.with

    D.without


    答案:D

  • 第5题:

    有如下类定义: class Point{ private: static int how_many; }; ___________how_many=0; 要初始化Point类的静态成员how_many,下画线处应填入的内容是( )。

    A.int

    B.static int

    C.int Point::

    D.static int Point::


    正确答案:C
    本题考查静态数据成员,静态数据成员可以初始化,但只能在类体外进行初始化,其一般形式为:数据类型类名::静态数据成员名=初值。所以本题答案为C。

  • 第6题:

    Both parents and children should try to______ the generation gap between them.

    A.water

    B.house

    C.bridge

    D.cup


    B