explain System.out.println

Answer Posted / rajeshbg

Syatem.out.println() --> 1. System is a class, which is final.
2. out is the static variable in
System class of type PrintStream.
3. println() is the mathod in
PrintStream class.

See below code,

Public class PrintStream
{
Public void println();
}

final Public class System
{
Public static PrintStream out;
}

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 type conversion in java?

581


Is null a value?

563


What programs use java?

472


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

617


Can constructor return value?

512






Difference between this() and super() in java ?

616


What is a vector in java?

576


How many types of constructors are used in java?

541


What is polymorphism java example?

547


What are loops in java? What are three types of loops?

551


What is the difference between applet and application?

544


Is string thread safe in java?

578


What is pre increment and post increment in java?

501


What is the importance of finally block in exception handling?

541


Which package is always imported by default?

543