explain System.out.println

Answer Posted / vishwajeet

SYSTEM is an class.
OUT is an object PrintStream class defined in System class.
OUT is declared as public, static and final.
Println() is a method of PrintStream class.
The println() method is called with out object.
The out object is called with System class.


To say simple, println() is a method of PrintStream class.
out is an object of PrintStream class defined in System class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is namespace same as package in java?

543


What are static blocks in java ?

613


What is the purpose of the strictfp keyword?

609


How big is a pointer?

555


What does 0 mean in boolean?

542






Explain about sets?

570


How java enabled high performance?

584


What are the uses of java?

570


What is the basic difference between string and stringbuffer object?

581


What is the synonym of procedure?

530


Can we catch more than one exception in a single catch block?

627


What is the use of flag?

583


What is an image buffer?

537


List primitive java types?

595


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

542