- 98
- 0
- 约3.9千字
- 约 7页
- 2017-09-22 发布于重庆
- 举报
Java程序设计 一、程序阅读题(本大题共30分,共 5 小题,每小题 6 分)1. class Test{?public static void add3(Integer i){?int val=Value();?val+=3; i=new Integer(val);?} public static void main(String args[]){ Integer i=new Integer(0);?add3(i); System.out.println(Value()); }?}2. 3. 4. public class test {?public static void main (String args[ ])?{?int a =25, b=3, e =3; if(e!=0a/e5) System.out.println(a/e=+a/e); int f=0; if(f!=0a/f5) System.out.println(a/f+a/f);?else System.out.println(f=+f);?} }5. public class Base{ public void getNO(int i){ System.out.println(NO +i);?
原创力文档

文档评论(0)