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 |
What is static variable with example?
What 4 doubled?
What is a thin-client application?
What is difference between Eclips and MyEclips?
Write a method that will remove given character from the string?
In java how do we copy objects?
Explain about strings in java?
What is the default value of float and double datatype in java?
How many types of syncronization?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
how do you store phone numbers using java collections