Pages

Friday 28 June 2013

what is system.out.println() in java language???

system.out.println():
                system is predefined class which is available in java.lang predefined package.
                                       out is a static reference varaiable of system class,which represnts the object of print stream class
println():
           println is a non static method which is present inside print stream class
printstream():
            printstream is a pre defined class which is available in java.io predefined package
  class system
  {
    static print stream out=new printstream();
     }

class printstream()                                            
{
   void println()
    {
       ------------
        --------------
     }
  void print()
{
  ------------
      -------------
}
void printf()
{
 --------------
----------------
}
}


0 comments:

Post a Comment