is there any way i can return the tictactoe_board variable in another class? likeCode:public class GameData { public int[][] tictactoe_board; // Constructor public GameData(int[][] board) { tictactoe_board = board; } }
int[][] blah = GameData.tictactoe_board;




Reply With Quote