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
Which is fastest collection in java?
Difference between linkedlist and arraylist.
What are the advantages of autoboxing?
What do you mean by inner class in java?
Difference between error and exception
How can we make sure main() is the last thread to finish in java program?
Explain different types of thread priorities ?
Why is string class considered immutable?
What is an empty list in java?
What environment variables are required to be set on a machine in order to run Java programs?
What is the benefit of singleton pattern?
What is the use of list in java?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
Can a method inside a interface be declared as final?
What is the class in java?