title: What is a relationship between System class and PrintStream Class
body: <p>I'm trying to know what exactly System.out.println(). I read these two articles
  <a href="https://stackoverflow.com/questions/12002170/what-is-system-out-println-in-system-out-println-in-java">What is System, out, println in System.out.println() in Java</a> and <a href="https://stackoverflow.com/questions/3406703/whats-the-meaning-of-system-out-println-in-java">What&#39;s the meaning of System.out.println in Java?</a>. I know what is System,out,and print, But i don't know how System class can connect to <code>PrintStream class</code>. How they are <code>related to each other</code>?</p>
  
  <p>System is a class in the <code>java.lang package.out</code> is a static member of the System class, So how its becomes an instance of <code>java.io.PrintStream</code> ?How System and PrintStream are related to each other ?</p>