public class Test {
public static void main(String[] args) throws UnsupportedEncodingException, IOException {
String encoding = "UTF-8";
StringBuffer buff = new StringBuffer();
FileWriter w;
public static void main(String[] args) {
int player[][] = new int [3][10];
for(int i = 0; i < player[0].length; i++){
player[0][i] = (int)(Math.random()*500);
player[1][i] = (int)(Math.random()*600);
player[2][i] = (int)(Math.random()*700);
}
System.out.println("初期値");
dump(player);
int index = 0;
if(args.length != 0) {
index = Integer.parseInt(args[0]);
}
// indexが配列の範囲内かチェックしてね