title: Why we can't call 'println()' method with help of PrintStream class where out is object of this class?
body: <p>Why we can't call <code>println()</code> method with help of PrintStream class where out is object of this class?</p>
  
  <pre><code>import java.io.*;
  
  class Demo {
      public static void main(String[] args) {
          PrintStream.out.println("Hello");
      }
  }
  </code></pre>