title: out in System.out.println()
body: <p>Firstly regrets if this is a very basic question and i promote that I'm still a code monkey.
  I was asked in an interview to elucidate System.out.println();
  I explained the following way </p>
  
  <pre><code>//this class belongs to java.lang package
  class System{
    public static PrintStream out;
  }
  //this class belongs to java.io package
  class PrintStream{
   public void println..
  }
  </code></pre>
  
  <p>I've explained that System.out is valid since this is the way we access static variables in java, and out is an object of PrintStream and hence we can access its methods, In sum as </p>
  
  <pre><code>System.out.pritnln(); 
  </code></pre>
  
  <p>he asked me to simulate a similar kind of program,i traced and it did not work,since System.out is returning null</p>
  
  <p>my question is where is out object instantiated in java ? Is it a predefined object if I'm not wrong. what should be the meticulous explanation for this.</p>
  
  <p>Technically what should we call out? Is out a variable of type PrintStream type or should one say it as an object of type PrintStream ?</p>