This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
What your code is saying is that 'while j>3 then increment j by 1'. Of course this will not happen because j started out as 0. You need to change your code from for(int i=0;j > 3;i++) to for(int i=0;j < 3;i++)