
public class ForExampleFour {
	public ForExampleFour(int maxRows, int maxCols) {
		for (int row=0; row<maxRows; row++) {
			for (int col=0; col<maxCols; col++) {
				System.out.println("row: " + row + " col: " + col);
			}
		}
	}
	public static void main(String[] args) {
		new ForExampleFour(3,4);
	}
}
