/* for 文を使って配列の要素をすべて表示する */ class Foo { public static void main (String[] args) { int[] a = new int[5]; for (int i=0; i