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


Please Help Members By Posting Answers For Below Questions

What variables are stored in stack?

530


Which class is the superclass for all the classes?

535


Describe the process as to how substring() methodology mechanisms in java.

561


What is lifetime variable?

525


How do you write methodology?

562






What is a map? What are the implementations of map?

564


How many characters is 2 bytes?

532


What do you mean by synchronized non access modifier?

565


Difference between operator overloading and function overloading

613


How do you make an arraylist empty in java?

477


Does java support function overloading, pointers, structures, unions or linked lists?

607


What is 16 bits called?

501


what is mutual exclusion? : Java thread

554


What is the difference between a method and a function in alice?

576


Which class should you use to obtain design information about an object in java programming?

645