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
Write a program to find the greatest of three numbers in java?
Explain what do you mean by functional overloading in java?
describe method overloading
What is difference between identifier and variable?
What is the relationship difference the canvas class and the graphics class?
What is the difference between stringbuffer and stringbuilder?
Why does java have two ways to create child threads? Which way is better?
what is meant by Garbage collection?
What is the original name of java?
what is bmg file and how to create that files?what will it contailn?
What is default constructors?
What are the legal operands of the instanceof operator?
how is final different from finally and finalize in java?
How many bits is a char?
What is thread life cycle?