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

How to make a non daemon thread as daemon?

551


What is the role of the java.rmi.naming class?

528


What is generic class?

648


What are basic keywords?

559


What are synchronized methods ?

617






Explain about anonymous inner classes in java?

582


What are the types of literals?

561


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

627


What is meant by class and object in java?

555


What does nextint () do in java?

554


What is difference between == and === in js?

549


What is class and its types?

542


What is byte data type?

548


What is bufferedwriter?

541


What is meant by stack and queue?

606