问题
单项选择题
对于常数据成员,下面描述正确的是( )。
A.常数据成员可以不初始化,并且不能更新
B.常数据成员必须被初始化,并且不能更新
C.常数据成员可以不初始化,并且可以被更新
D.常数据成员必须被初始化,并且可以被更新
答案
参考答案:B
解析: 常数据成员必须被初始化,并且不能更新。
对于常数据成员,下面描述正确的是( )。
A.常数据成员可以不初始化,并且不能更新
B.常数据成员必须被初始化,并且不能更新
C.常数据成员可以不初始化,并且可以被更新
D.常数据成员必须被初始化,并且可以被更新
参考答案:B
解析: 常数据成员必须被初始化,并且不能更新。
C) 根据短文内容,从下面方框中选择适当的单词或短语填空,使短文内容完整正确。
Now, an American company invented a key by using Bluetooth technology 3 help people drive safely. With the key, a driver can’t talk or send messages when driving a car. With Bluetooth technology, when the driver is driving, the phone will 4 all incoming calls and messages by itself with “I am driving now. I will call you later.” The only calls allowed out are to emergency services. When the driver 5 the car, he then can use the phone. This is all about saving lives and safer driving. |