Can anyone help me debug this, I am getting a lot of errors. :(

here's the example case:

User inputs..

Enter Row: 3
Enter Column: 3


1 2 3
2 4 6
3 6 9

Here's my code:

public class Test2 
public static InputStreamReader reader=new 
InputStreamReader (;
public static BufferedReader input=new 
BufferedReader (reader);
public static void main (String args[]) throws Exception{
	String row;
	String col;
System.out.println ("Enter Row:");
row = input.readLine();
System.out.println ("Enter Column:");
col = input.readLine();

int [][] x = {{0,1,2,3,4,5,6,7,8,9,10},

int row, col;
for (row=0; row<11; row++){
for (col=0; col<11; col++){
System.out.print (" " + x [row][col]);

The compiler gives you more information than just "errors".

Post the errors and what you think might be the reason for them. You need to learn how to interpret those messages and deal with the cause. Throwing up your hands and saying "I have errors!" won't get you too far.

yeah.. xD I just finished fixing it. I found out that there are some mistakes in symbols and somebody taught me some lacking statements.

thx for the reply. :)