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
What is %d in printf?
What are the main uses of this keyword?
List some features of the abstract class.
what is predefined function in java?
How do generics work?
What is runtime locatable code?
Is java 1.7 the same as java 7?
What is subsequence of a string?
What is an accessor?
What does @override mean?
Why pass by reference is not possible in java?
describe method overloading
Where is core java used?
Why java is call by value?
What causes memory leak in java?