- 博客(2)
- 收藏
- 关注
原创 Java学习过程(第十天)
/* interface Usb //定义一个接口 { public void open(); public void close(); } class Upan implements Usb { public void open() { System.out.println("Upan open"); } public void close() { System.o
2017-11-18 23:34:51 138
原创 java数组
//把一列数字放入数组中,并输出大于平均数的数组元素 int[]numbers= new int[10]; int sum=0; int cnt=0; Scanner in=new Scanner(System.in); int x=in.nextInt(); while (x!=-1) { numbers[cnt]=x; sum=sum+x; cnt++; x=in.ne
2017-10-15 20:12:10 120
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人