
package TwoDimArrayOne;
public class TwoDimArrayEx2 {

	public TwoDimArrayEx2() {
		int[][] scores = {{5,7,4}, {9,3,2}};
		

		// Printing (no need to use maxRows or maxColumns)
		for (int row=0; row<scores.length; row++) {
			for (int col=0; col<scores[row].length; col++) {
				System.out.print(scores[row][col] + " "); 
			}
			System.out.println();
		}
	}
	
	public static void main(String[] args) {
		new TwoDimArrayEx2();
	}
}
