1. foreach 1. foreachint inputs[] = new int[]{0, 1, 3, 9, 27, 33, 54, 81}; for (int i: inputs) { System.out.println(i);}