explain System.out.println
Answer Posted / suneel kumar
System is the Final Class,
Where as out is the object of PrintStrean class,which
reside in the System Class,
and println() is the method in the PrintStream class.
System --> public final class System
out --> public final static PrintStream out =
nullPrintStream();
println() --> public void println(Object x)
{
synchronized (this)
{
print(x);
newLine();
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can a class have an interface?
List out five keywords related to exception handling ?
Explain when noclassdeffounderror will be raised ?
What is function declaration?
Is java an ide?
What is the difference between reader/writer and inputstream/output stream?
What is the difference between conversation & casting?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
When does a class need a virtual destructor?
Why are variables important in research?
Explain about interrupt() method of thread class ?
What value is a variable of the string type automatically initialized?
Why 1 is not a prime number?
Write a program to show whether a graph is a tree or not using adjacency matrix.
How big is a 32 bit integer?