title: How to remove an element in a 2D array
body: <p>I have a 2D array that I need to "reset" each time a tic tac toc game is started. I call a method and loop through the array setting all the elements to Zero. But this defeats the purpose of my program because i need to have all the elements empty/null again.</p>
  
  <pre><code>public static char[][] initializeGame(char[][] gameBoard) {       
      for (int row = 0; row &lt; 3; row++) {
          for (int col = 0; col &lt; 3; col++) {
              gameBoard = null; //&lt;--THIS IS THE THING AM TRYING TO NULL @ gameBoard[row][column]               
          }
      }     
      return gameBoard;
  }
  </code></pre>
  
  <p>How can I set the elements of <code>gameBoard</code> to null?</p>