All pastes #740648 Raw Edit

Something

public text v1 · immutable
·published 2007-10-18 02:51 UTC
rendered paste body
import java.util.*;

public class Pozzle { 
char[][] grids; 
Random r = new Random();

public Pozzle() { 
char[][] grids= new char[10][10];

 for (int i=0;i<grids.length;i++)
      for (int j=0;j<grids[i].length;j++)
      grids[i][j]=32 + r.nextInt(96);
    
    for (int i=0;i<grids.length;i++)
    {
      for (int j=0;j<grids[i].length;j++)
        System.out.print(grids[i][j]+" ");
      System.out.println();
    }
} 
public Pozzle(int row, int col){ 
char[][] grids = new char[row][col];

} 
public void toString(){ 
System.out.println 
}} 
//Left click to shoot, arrow keys to move. Enjoy!