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

how its run?

573


What is byte value?

560


Can It is possible to synchronize the constructor of a Java Class?

600


In how many ways we can create threads in java?

638


How many digits can a float hold?

539






What is hasnext in java?

582


What is number data type?

534


How to do a true java ping from windows?

622


define polymorphism in java

641


Why scanner is used in java?

553


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

615


What does function identity () do?

521


What is the statements?

595


What comes to mind when someone mentions a shallow copy in java?

666


What are the three best choices for a development environment?

617