Initializing Multiple Variables in a FOR Loop

I'm a student trying to figure out how to fix a seemingly simple problem. I keep getting an error while trying to initialize 2 variables in a FOR loop. I'm trying to create rows for a game board. Why am I getting this error? This is the method:

public String [] board; public void printBoard() < for(int i, j = 0; i < this.board.length; i++, j++) if(j >10) System.out.println(); else System.out.print(this.board[i]); > java:39: error: variable i might not have been initialized 
asked Jan 26, 2013 at 4:30 pasha_codes pasha_codes 635 2 2 gold badges 5 5 silver badges 19 19 bronze badges

Judging by the code, you probably also need to split the loop, to have a nested loop, in order to reach all game board pieces. As is, you will only hit the diagonals.

Commented Jan 26, 2013 at 4:38

In java everything is very well documented before doing for loop just see basic syntax , and still if by mistake there is any error if you paste it to google it would diffidently be a better option , still if you dont find solution the post here