title: Why a char default value is not displayed on console?
body: <p>I wanted to know what will it get displayed on console when you try to print a <code>char</code> default value. But unfortunately, I can't see anything on the console. why? <br><br>I should be able to see <code>0</code> right. As the default value of a char variable is a null character i.e., <code>'\u0000'</code> (Its decimal equivalent is <code>0</code>) ? Correct me if I'm wrong. </p>
  
  <p>Code:  </p>
  
  <pre><code>public class Index {
      static char c;
      public static void main(String[] args) {
          System.out.println("char default value is: "+Index.c);
      }
  }
  </code></pre>
  
  <p>Output console: </p>
  
  <p><a href="https://i.stack.imgur.com/3nxxQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3nxxQ.png" alt="enter image description here"></a></p>