Friday, 22 May 2015

JAVA: System.out.println Explaination

System : It is a final class in the java.lang package.


out: It is a static member of System class and is of type of PrintStream class.

println: It is an overloaded member of PrintStream class(java.io.Printstream package).


Structure of  System.out.println


                   class System{
public static final PrintStream out;
}
  
          class PrintStream{  
               void println(); 
            }

No comments:

Post a Comment