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 class and object in java?
What is java beans?
What interface is extended by awt event listeners?
What is the difference between a synchronized method and a synchronized block?
Explain with example the concept of constant variable in java.
What is ascii format?
What are the string methods in java?
What is internal variable?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is size () in java?
What is proper subset?
How do you call a reference in java?
What is length in java?
How to Sort Strings which are given in List and display in ascending order without using java api.
How to read and write image from a file ?