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
How to change the priority of thread or how to set the priority of thread?
What is class array in java?
What is %d in printf?
What is variable argument in java?
What are the three best choices for a development environment?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is length in java?
How do you use parseint in java?
What is the use of put method?
What is sizeof () operator?
What does you mean in math?
What are the procedures?
How can you traverse a linked list in java?
What is the maximum size of byte array in java?
What is the protected method modifier?