Net-informations.com
SiteMap  | About    

What's the meaning of System.out.println in Java?

System.out.println is a Java statement that prints the argument passed, into the System.out which is generally stdout.

  1. System is a Class
  2. out is a Variable
  3. println() is a method

System is a class in the java.lang package . The out is a static member of the System class, and is an instance of java.io.PrintStream . The println is a method of java.io.PrintStream. This method is overloaded to print message to output destination, which is typically a console or file.

the System class belongs to java.lang package

the Prinstream class belongs to java.io package









net-informations.com (C) 2017    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.