title: In Java, how does System.out refer to PrintStream class?
body: <p>I'm a beginner learning Java with some knowledge of C++, and the System.out.println(); is confusing me right now. So System is the class, out is a variable that can call a method?? According to: <a href="http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/application/objects.html" rel="nofollow">http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/application/objects.html</a>
  out is a class variable, and a variable is a storage location in the computer memory that has a type name and content. It's not an object like string  that can use methods like .getLength(). The way the website explains it is that out refers to an instance of PrintStream class, but how?</p>