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 are sets in java?
Define array. Tell me about 2-D array.
What is Applet Stub Interface ?
What is the use of arraylist in java?
What are the parts of a method?
How can we avoid including a header more than once?
What package is math in java?
What is an iterator interface in java programming?
What is a line break example?
How many bytes are there?
What is the use of StringTokenizer class?
Can we restart a thread already started in java?
Can we override protected method in java?
What is string pooling concept?
What is java dot?