define System.out.println(); what is the meaning!
Answer Posted / dilip yadav
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 ? | 14 Yes | 4 No |
Post New Answer View All Answers
What is the difference between variable & constant?
What is the size of boolean variable?
Why is java called the platform independent programming language?
how we can create packages in java?
What is qualitative variable?
How does indexof work?
What does java stand for?
How does the garbage collector works in java?
What is module in project?
What is output buffer?
What does pointer mean?
what is singleton class in java?
Is special character in java?
What is the purpose of object oriented programming?
Explain about complier design(phases)