public class MainClass { public static void printArray(long[] x) { for (int i = 0; i < x.length; i++) { System.out.println("# " + i + " = " + x[i]); } } static int[] small = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }; public static void showSmall() { printArray(small); } public static void main(String[] a) { showSmall(); } }