explain System.out.println

Answer Posted / narasimhulu

System is a final class in java.lang package, which is the
default package in Java.
out is a static variable in System class.
println() is a method of PrintStream class which is in
java.io package
in the system class
static printstream out;
so "out" acts as a reference for PrintStream class and also
static variable in System class.
so finally it produces the output to the console(character
using as input)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the final method?

606


Can you tell me range of byte?

566


What is string args [] in java?

540


Why does it take so much time to access an applet having swing components the first time?

1401


How many bits is a string in java?

583






When should the method invokelater() be used?

588


What is ascii format?

556


What does index mean in java?

544


Explain about the performance aspects of core java?

558


What is use of super keyword?

570


What data type is string java?

543


What is the super void?

463


What is a variable in java?

542


How can the checkbox class be used to create a radio button?

514


How do you override a private method in java?

509