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 variables are stored in stack?
Which class is the superclass for all the classes?
Describe the process as to how substring() methodology mechanisms in java.
What is lifetime variable?
How do you write methodology?
What is a map? What are the implementations of map?
How many characters is 2 bytes?
What do you mean by synchronized non access modifier?
Difference between operator overloading and function overloading
How do you make an arraylist empty in java?
Does java support function overloading, pointers, structures, unions or linked lists?
What is 16 bits called?
what is mutual exclusion? : Java thread
What is the difference between a method and a function in alice?
Which class should you use to obtain design information about an object in java programming?