Given the following code fragment, what will happen when you try to compile and run the showSmall method? : Questions « Java Source And Data Type « SCJP
1.28.29.Given the following code fragment, what will happen when you try to compile and run the showSmall method?
public class MainClass { public static void printArray(long[] x) { for (int i = 0; i < x.length; i++) {
System.out.println("# " + i + " = " + x[i]);
}
}