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
What interface is extended by awt event listeners?
What is an example of a conditional statement?
What is serialversionuid?
What is an object class?
What is the use of callablestatement?
What are the classes of java?
Why spring singleton is not thread safe?
Can vector have duplicates in java?
What does || mean in vectors?
What are the important features of Java 10 release?
Difference between arraylist and vector.
What is the difference between && and & in java?
What is a priority queue java?
What is boolean query?
How do you do descending order in java?