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
What is type conversion in java?
Is null a value?
What programs use java?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
Can constructor return value?
Difference between this() and super() in java ?
What is a vector in java?
How many types of constructors are used in java?
What is polymorphism java example?
What are loops in java? What are three types of loops?
What is the difference between applet and application?
Is string thread safe in java?
What is pre increment and post increment in java?
What is the importance of finally block in exception handling?
Which package is always imported by default?