when System.out.println("") is executed what happens in the
back ground?
Answer Posted / qim2010
'System' is a class in 'java.lang' package, which is a final
class(can not be inherited) and its constructor is
private(can not be inherited)
'out' is a static member variable of 'System' class which is
of type 'PrintStream'
'println()' is a method of 'PrintStream' class So
'System.out.println()' means calling of method 'println()'of
the static 'PrintStream' type variable 'out' of 'System' class.
And is used to print a String to the system console.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Can two objects have same hashcode?
What is re-factoring in software?
What is data type in computer?
What about main() method in java ?
Do I need java on my pc?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
Difference between default and protected access specifiers?
Is .net better than java?
Why does java doesnt suuport unsigned values?
What are unchecked exceptions in java?
Is there any sort function in java?
How arrays are stored in memory in java?
What is difference between static and abstract class?
What is the difference between post and put?
What sorting algorithm does javascript use?