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
In which order the iterator iterates over collection?
What is assembly condition codes?
Can we create constructor in abstract class ?
What all methods are used to prevent thread execution ?
What is mean by exception?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
Where is java located?
Can we use both this () and super () in a constructor?
What are the different collection views provided by maps?
Can a source file contain more than one class declaration?
Can we overload destructor in java?
explain local datetime api in java8?
What is the purpose of the strictfp keyword?
Is java free for businesses?
What is consumer in java?