Home > Software > Java > Core-Java
Interview Questions   Tutorials   Discussions   Programs   

Core-Java - Explain System.out.println?




305
views
asked marvit September 16, 2014 02:11 AM  

Explain System.out.println?


           

1 Answers



 
answered By Bala91   0  

System is Final class in Java.

out is Instance variable of type static and final created for PrintStream class.

println() is a method in the PrintStream class, which when invoked, will print(display) the arguments passed to it, on the appropriate display device.

Note:println() will print the given content followed by new lline.

print() will just print the given content.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert