when System.out.println("") is executed what happens in the
back ground?
Answers were Sorted based on User's Feedback
Answer / 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 |
y cant i declare method like public final static show()
What is string data?
What is garbage collection? Can it be forced to run?
What is a Transient Object?
0 Answers InfoAxon Technologies,
What is instanceof keyword?
'A class is a template for an object' explain this statement.
0 Answers Akamai Technologies,
What is super in java?
What is string length in java?
What is hasnext in java?
What is package private scope in java?
what is ABSTRACTION and what are using in real time project?
For which statements we use a label?