I am trying to print out a gameBoard that has a "-" for each spot of the array: however every time I run this code I get this printed to the console:
[[C@2a139a55.
Any suggestions?
public class Game {
    public static void main(String[] args){
        char realBoard[][] = new char[7][7];
        for (int i=0;i<7;i++){
            for(int j=0;j<7;j++){
                realBoard[i][j]='-';
            }
        }
        System.out.print((realBoard));
    }
}
 
     
     
     
    