explain System.out.println

Answer Posted / sarbbottam bandyopadhyay

System is a class, which belongs to package java.lang
out is a class variable (static final field) of system class of PrintStream class.
PrintStream class has the method println().
The return type of println() is void and has overloading.
Please refer to the API documentation of System class.
http://download.oracle.com/javase/1.4.2/docs/api/java/lang/System.html

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the length of a string?

526


Explain jvm, jre, and jdk?

563


What is java virtual machine? Explain

571


What is an interface in java?

563


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

7425






What is broken and continue statement?

535


Is the empty set a singleton?

544


How many types of the indexof method are there for strings?

493


What is java jit compilers?

562


Explain garbage collection in java?

549


What is a singleton puppy?

536


How many boolean functions are there?

508


Can we restart a thread already started in java?

584


Can we define constructor in inner class?

545


What is a key in java?

505