title: Display char instead of 0 in 2D Java array
body: <p>I'm creating a 2D array for baseball scores, and if the home team's score is greater than visiting team score after the top of the 9th, then I need that array position to display a hyphen "-" instead of zero. </p>
  
  <pre><code>if (eigthhomeScore &gt; visitorScore) {
      scoreArray [1][8] = 0;
  }
  </code></pre>