System.out.println("考試成績的前三名為:"); 為什么放上面
import java.util.Arrays; public class HelloWorld { ? ? ? ?//完成 main 方法 ? ?public static void main(String[] args) { ? ? ? int[] scores={89,-23,64,91,119,52,73}; ? ? ? ? ? ? ?System.out.println("考試成績的前三名為:"); ? ?Helloworld hello=new Helloworld(); ? ? ? ? ?hello.mark(scores);為什么輸出在成績下面里面不加scores
2017-01-17
如果放在下面,就會循環(huán)幾次,打印幾次。