问题
单项选择题
如果要将窗体中的某个命令按钮设置成无效状态,应该动命令按钮的何种属性?
A.报表只能输入数据
B.报表只能输出数据
C.报表可以输入和输出数据
D.报表不能输入和输出数据
答案
参考答案:B
解析:数据封装就是数据抽象;友元可以访问类中的所有成员,是面向对 象的一个重要特征,但是破坏了封装性;重载和动态联编都是面向对象的另一个特点-- 多态性。
如果要将窗体中的某个命令按钮设置成无效状态,应该动命令按钮的何种属性?
A.报表只能输入数据
B.报表只能输出数据
C.报表可以输入和输出数据
D.报表不能输入和输出数据
参考答案:B
解析:数据封装就是数据抽象;友元可以访问类中的所有成员,是面向对 象的一个重要特征,但是破坏了封装性;重载和动态联编都是面向对象的另一个特点-- 多态性。
When Mr Smith retired(退休), he bought a small 41 in a village near the sea. He 42 it and hoped to live a quiet life in this house. But to his great surprise, many tourists came to see his house in summer holidays, for it was the most 43 building in the village. From morning to night there were 44 outside the house. They kept looking into the rooms through the windows and 45 of them even went into Mr Smith’s garden. This was too much for Mr Smith. He decided to ask the visitors to 46 . So he put a notice on the window. The notice said, “If you want 47 your curiosity(好奇心),come in and look round. Price: twenty dollars.” Mr Smith was sure that the visitors would 48 coming, but he was wrong. More and more visitors came and Mr Smith had to 49 every day showing them around his house.“I came here to 50 not to work as a guide(导游),”he said angrily. In the end, he sold the house and moved away.
|