已采纳回答 / 小刀威武
前面的int就是声明变量的,名字的话你随便写,和后面输入保持一致就可以了。for (int sco1:scores) {System.out.println(sco1);写成这样实际上是没有任何问题的。
2015-01-17
已采纳回答 / Fiona0126
three=one+two ==> three = 10+20 = 30three+=one ==> three = three + one = 30+10 = 40 three-=one ==> three = three - one = 40 - 10 = 30three*=one ==> three = three * one = 30 * 10 =300three/=one ==> three = three / one = 300 / 10 =30three%=...
2015-01-16
已采纳回答 / potatofootball
文档注释与多行注释的相似点在于同样可以注释若干行,但不同点在于文档注释的内容会写入 javadoc文档,因此文档注释一般是记录这个Java程序的基本信息,例如文件名、创建人、创建日期、修改人等信息
2015-01-07