配列のデータの従来のfor文と拡張for文の比較 従来のfor文 public class Main { public static void main(String[] args){ int[] score = {1, 2, 3, 4, 5}; for (int i = 0; i < score.length; i++) { System.out.println(score[i]); } } } 1 2 3 4 5 拡張fo…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。