// Using comma to separate elements of an array literal int[] x = { 10, 20, 30 }; // Using comma to terminate elements of an array literal int[] y = { 10, 20, 30, }; // both forms are legal.