title: Calling a method with a return type of void that only prints
body: <p>I have this code:</p>
  
  <pre><code>public static void boardSelection(String selectionBoard) //Setting up the board
  { 
      if(selectionBoard.contains("1")){ //3x3
          char[][] board= new char[3][3];
          for(int i=0;i&lt;3;i++){
              for(int o=0;o&lt;3;o++){
                  board[i][o]='X';
              }
          }
  
  
          System.out.println(" ___________________");
          System.out.println("|     |      |      |");
          System.out.println("|  "+board[0][0]+"  |  "+board[0][1]+"   |  "+board[0][2]+"   |  ");
          System.out.println("|     |      |      |");
          System.out.println("|-------------------|");
          System.out.println("|     |      |      |");
          System.out.println("|  "+board[1][0]+"  |  "+board[1][1]+"   |  "+board[1][2]+"   |  ");
          System.out.println("|     |      |      |");
          System.out.println("|-------------------|");
          System.out.println("|     |      |      |");
          System.out.println("|  "+board[2][0]+"  |  "+board[2][1]+"   |  "+board[2][2]+"   |  ");
          System.out.println("|     |      |      |");
          System.out.println(" -------------------");     
      }
  }
  </code></pre>
  
  <p>How do I call it at the main method if I need it to print? I tried syso and I tried some other stuff, but couldn't find any other answer.</p>