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 print()
{
------------
-------------
}
void printf()
{
--------------
----------------
}
}
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()
{
--------------
----------------
}
}
No comments:
Post a Comment