public static void board() 
{int [] [] checkerBoard = 

{7,1,6,1,6,1,6,1,6,7}, 
{7,6,1,6,1,6,1,6,1,7}, 
{7,1,6,1,6,1,6,1,6,7}, 
{7,6,5,6,5,6,5,6,5,7}, 
{7,5,6,5,6,5,6,5,6,7}, 
{7,6,2,6,2,6,2,6,2,7}, 
{7,2,6,2,6,2,6,2,6,7}, 
{7,6,2,6,2,6,2,6,2,7} }; 
for (int rows = 0; rows < checkerBoard.length ; rows++) 

for (int cols = 0 ; cols < checkerBoard[rows].length; cols++) 

System.out.print(checkerBoard[rows] [cols]+" " ); } 
System.out.println(" "); } } 
public static void ruleMove (int a, int b, int c, int d) 
{ checkerBoard[c-1] [d-1] = checkerBoard [a-1] ; 
checkerBoard[a-1] = 0; } 整理了一下 问题就是如何在第二个方法中用上第一个方法的checkerBoard
compile的时候说第二个方法里面的checkerBoard cant find symbol
令求长期交流。。lz在国外 表示可以互相帮助java