what is System,out,println in System.out.println()?
Printable View
what is System,out,println in System.out.println()?
System is the class that references the computer System information (not, sure how to explain it, check out the API: System (Java Platform SE 6)). System.out returns a PrintStream of the System's standard output stream (in most cases, this is the command prompt). And the println is the PrintStream.println() method that you are invoking on the PrintStream object returned by the System.out call (here is the PrintStream API: PrintStream (Java Platform SE 6)).