- 48
- 0
- 约9.33千字
- 约 12页
- 2016-07-28 发布于贵州
- 举报
答案(第8章—类与据抽象(一))
第8章 类与数据抽象(一)
选择题。在以下每一题的四个选项中,请选择一个正确的答案。
【题8.1】D【题8.2】C【题8.3】C【题8.4】A【题8.5】B【题8.6】B【题8.7】D【题8.8】A【题8.9】A【题8.10】D
填空题。请在下面各题的空白处填入合适的内容。
【题8.11】标准接口 接口
【题8.12】extern auto register
【题8.13】aa b
【题8.14】类,公有
【题8.15】void init(int k, int t) couta.GetX()”,”a.GetY()
【题8.16】10
【题8.17】Sample(float a,char b):f(a),c(b){ }
【题8.18】定义对象
【题8.19】tb
【题8.20】类
程序理解题。请阅读下面的程序,写出程序的运行结果。
【题8.21】 15
15
【题8.22】 Exiting main
Destructor is active
Destructor is active
【题8.23】 S1=1600,S2=2699
【题8.24】 one[0]=3
one[1]=4
two[0]=(3,5.5)
two[1]=(7,8.8)
【题8.25】 5,8
8:5
【题8.26】 5 3
5
【题8.27】 Please Input the length and
原创力文档

文档评论(0)