public class QuizAlias { public static void main(String[] args) { int[] a = {1, 2, 3, 4}; int[] b = {9, 8, 7, 6, 5}; int[] x; x = a; // x is now an alias for a for (int i = 0; i < x.length; i++) System.out.print(x[i] + " "); // Prints 1 2 3 4 System.out.println(); x = b; // x is now an alias for b for (int i = 0; i < x.length; i++) System.out.print(x[i] + " "); // Prints 9 8 7 6 5 System.out.println(); } }