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 we can make copy of a java object?
What are the two ways you can synchronize a block of code?
What is thread synchronization in java?
a thread is runnable, how does that work? : Java thread
How will you reverse a singly-link list?
0 Answers Akamai Technologies,
why java does not contain pointers?
What are parsing rules?
Class A extends Class B but Class A also inherit Super Class Object so it is multiple inheritence give reason in support of your answer
How are variables stored in memory?
what is difference betwenn Access Specifier and Access Modifier ????
What is early binding and late binding in java?
What is cloneable interface?