上海交大c++期末试卷教程.docVIP

  • 10
  • 0
  • 约 12页
  • 2017-04-26 发布于湖北
  • 举报
上海交大c期末试卷教程

A 卷 总 NUMPAGES 12页 第  PAGE 12 页 上 海 交 通 大 学 试 卷( A 卷) ( 2013 至 2014 学年 第2学期 期末考试) 班级号_________________ 学号______________ 姓名 课程名称 C++(A) 成绩 选择填空:(每题1分,共15分) 1. 与class sample {enum {SIZE = 10}; int storage[SIZE];};等价的类定义为 。 A、class sample {const static int SIZE = 10; int storage[SIZE];}; B、class sample {const int SIZE = 10; int storage[SIZE];}; C、class sample { static const int SIZE = 10; int storage[SIZE];}; D、class sample { int SIZE = 10; int storage[SIZE];}; 2.对于类中定义的成员,其默认访问权限为_____。 A、

文档评论(0)

1亿VIP精品文档

相关文档