题目内容

One possible reason why spring is the best season for thinking is that____.

A. The whole nature is growing then.
B. It lasts longer than the other seasons.
C. It is not too warm nor too cold.
D. Man changes greatly in spring.

查看答案
更多问题

已知类A是类B的友元,类B是类C的友元,则( )。

A. 类A一定是类c的友元
B. 类C一定是类A的友元
C. 类C的成员函数可以访问类B的对象的任何成员
D. 类A的成员函数可以访问类B的对象的任何成员

下面对静态数据成员的描述中,正确的是( ) 。

A. 静态数据成员是类的所有对象共享的数据
B. 类的每个对象都有自已的静态数据成员
C. 类的不同对象有不同的静态数据成员值
D. 静态数据成员不能通过类的对象调用

下列( )不是类的成员函数。

A. 构造函数
B. 析构函数
C. 友元函数
D. 拷贝构造函数

在面向对象的程序设计中,作用域符(::)的功能是( )。

A. 标识作用域的级别
B. 指出作用域的大小
C. 定义作用域的大小
D. 标识某个成员函数是属于哪个类的

答案查题题库