define System.out.println(); what is the meaning!
Answer Posted / raj
System- public final class System extends Object
The System class contains serveral useful class
fields and methods.it cannot be instantiated
out-
The out variable in the System class refers to (points
to) an instance of the PrintStream class (a PrintStream
object) which is automatically instantiated when the System
class is loaded into the application.
println()-the println() methods in class PrintStream.
System.out.prinln("HI DILIP ");
This statement invokes the println() method of an object of
the PrintStream class which is referred to (pointed to) by
the variable named out which is a class variable of the
System class.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is assembly language?
How does java pattern compile work?
What is the purpose of void?
How does list work in java?
What is difference between protected and private?
What does || || mean in math?
What is meant by flickering?
What are the important features of Java 8 release?
Wha is the output from system.out.println(“hello”+null); ?
What is the purpose of methodology?
What are nested classes in java?
What is string builder in java?
What is the difference between static method and instance method in Java?
What is the difference between equals() and == in java?
What is the difference between multiple processes and multiple threads?