大学C程序设计试卷及答案参考资料.pdf

上传人:Q****o 文档编号:56628618 上传时间:2022-11-02 格式:PDF 页数:6 大小:43.30KB
返回 下载 相关 举报
大学C程序设计试卷及答案参考资料.pdf_第1页
第1页 / 共6页
大学C程序设计试卷及答案参考资料.pdf_第2页
第2页 / 共6页
点击查看更多>>
资源描述

《大学C程序设计试卷及答案参考资料.pdf》由会员分享,可在线阅读,更多相关《大学C程序设计试卷及答案参考资料.pdf(6页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、1 c#试卷(考试时间 90 分钟不可以使用计算器)一、填空题(20%)1.C#的数据类型有和。2.当在程序中执行到语句时,将结束所在循环语句中循环体的一次执行。3.布尔类型只有和两种值。4.类中声明的属性往往具有get访问器和。5.若已知 x=12,y=+x,则 y 的值为 _。6.面向对象程序设计的三个最基本特征是:、封装和多态性。7.C#方法的参数类型主要有:值参数、和。二、选择题(20%)1.C#可执行程序的主入口点是()A、main 函数B、Main 函数C、Run 函数D、Form_Load 函数2.以下标识符中正确的是:()A、6b B、typeof C、_nName D、x5#

2、3.以下类型中不属于值类型的是:()A、整数类型B、布尔类型C、类类型D、字符类型4.C#源程序文件的扩展名为()A、.vb B、.c C、.cpp D、.cs 5.表达式“abcde”=”abcde”+”2006”的值为()ATrue2006 B.true C.false D.0 6.在 C#中定义类时,使用的关键字是()2 A、interface B、int C、class D、overrides 7.已知大写字母 A 的 ASCII 码是 65,小写字母 a的 ASCII 码是 97,则十六进制字符常量 u0044 表示()A、字符 C B、字符 c C、字符 D D、字符 B 8.类中

3、两个以上的同名方法,只要不同,编译器就知道调用哪个方法()。A、参数类型B、参数类型或参数个数C、参数与顺序个数D、返回类型9.加载窗体时触发的事件是()。A.Click B.Load C.GotFoucs D.DoubleClick 10.改变窗体的标题,需修改的窗体属性是()A.Text B.Name C.Title D.Index 三、程序阅读题(25%)(请将答案写在右侧框内!)1.int y=1,x;if(y!=0)x=5;else if(y 0)x=4;else x=3;Console.WriteLine(x=0”,x);2.int x,y=0;do x=y+;Console.Wr

4、iteLine(x);while(y 1)console.WriteLine(“下课”);else 1.2.3.文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码

5、:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6

6、H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码

7、:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6

8、H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码

9、:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6

10、H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B53 console.WriteLine(“放学”);console.WriteLine(“hello”);4.class A public int count;public A()count=-1;public A(int n)count=n;cl

11、ass Test static void Main()A a=new A();Console.WriteLine(count=0,a.count);A b=new A(5);Console.WriteLine(count=0,b.count);5.class Test static void Main()int x=5;int y=x-;Console.WriteLine(y=0,y);y=-x;Console.WriteLine(y=0,y);四、综合题(35%)1、列举五种 C#支持的类修饰符,并说明含义。(8%)2、如何区别重载方法?(7%)4.5.文档编码:CV9Q6Y7E6S2 HB

12、9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B

13、5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB

14、9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B

15、5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB

16、9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B

17、5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB

18、9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B54 3、计算 0+2+4+100之和。(dowhile,while或者for,任选一种)(10%)4、设计一个学生 Student类,此类需要包括学生姓名、学号、性别、成绩和科目,并创建学号属性。(10%)文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2

19、 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7

20、L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2

21、 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7

22、L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2

23、 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7

24、L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2

25、 HB9B2Y6H8X7 ZH9I6L7L2B55 参考答案一、填空题(20%)1.值类型引用类型2.continue 3.true false 4.set访问器5.13 6.继承7引用参数输出参数二、选择题(20%)1.B 2.C 3.C 4.D 5.C 6.C 7.C 8.B 9.B 10.A 三、程序阅读题(25%)1.x=5 2.0 1 2 3 4 5 3.下课Hello 4.count=-1 count=5 5.y=5 y=3 四、综合题(35%)1.1、public 公有类,可以被所有类访问2、protected保护类,此类以及派生类能访问文档编码:CV9Q6Y7E6S2 HB9B

26、2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文

27、档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B

28、2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文

29、档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B

30、2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文

31、档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B

32、2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B56 3、internal 内部类,只能被同一空间的其他类访问4、private 私有类,只有该类能访问2.类中两个以上的方法(包括隐藏的继承而来的方法)取的名字相同,只要使用的参数类型或参数个数不同,编译器便知道在何种情况下应该调用哪个方法.3.static void Main(string args)int i=0,sum=0;for(i=0;i=100;i+=2)sum=sum+i;Consol

33、e.WriteLine(sum);4.class student public string name;public int no;public string sex;public float score;public string subject;public string No /创建学号属性 get return no;set no=value;文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编

34、码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y

35、6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编

36、码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y

37、6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编

38、码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5文档编码:CV9Q6Y7E6S2 HB9B2Y6H8X7 ZH9I6L7L2B5

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁