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 |
How Array List can be Serialized.
What is downcasting?
How to make a read-only class in java?
Write a java program to check if a number is prime or not?
How do singleton patterns work?
What does replaceall do in java?
What are the 6 mandatory procedures for iso 9001?
What checkbox method allows you to tell if a checkbox is checked?
Is char a data type in java?
Difference between this() and super() ?
what is the difference between yielding and sleeping? : Java thread
Which class has no duplicate elements?