$6,14,4, //2 //3 //4 //5 //6 ここまでは設定 InputStream fileStream = new FileInputStream("data.txt"); System.setIn(fileStream); Scanner sc = new Scanner(System.in); //1.整数型の配列 testArray を宣言 //2.testArrayに要素数3の配列を生成して代入 ???? = 6; //3.testArrayの添字0番目の要素に 6 を代入 //4.testArrayの添字1番目の要素に 9 を代入 //5.testArrayの添字2番目の要素に 4 を代入 //6.testArrayの添字1番目の要素に 5 を加算 //3. for文で0からtestArrayの戦闘から末尾まで繰り返し、,区切りで全ての要素を表示