define System.out.println(); what is the meaning!
Answers were Sorted based on User's Feedback
Answer / mayur
System is a class which is present inside the package
java.lang ,which is imported by default. System class
provides access to system,It contains 3 predefined stream
variable in,out and err.
System.out refers to the standard output stream. By default
this is console.
println() stands for printline,used to produce output of the
data on screen.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sagar g
System : The System is a class and cannot be instantiated.
out : Its a static field with type PrintStream of System
class and object of PrintStream class.
println : Its a method of PrintStream class.
As "println()" is a method of PrintStream class and "out"
is an object of PrintStream class, object can call its
public method "println()"
out.println();
Since "out" is static , it so that it is called using class
name "System"
System.out.println()
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / amar
System.out.println( );
1.The System class contains several useful class fields and
methods. It cannot be instantiated.
2.System class has field out of type PrintStream class.
3.println() is a method in PrintStream class.
| Is This Answer Correct ? | 8 Yes | 8 No |
Answer / ilankumaran
System is a class
out is a predefined streaming object of the System class
and println() is a method which is used to print the output
on the screen
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ashish kumar sahu
System.out.println();
println() is a method of PrintStream class.
out is a object of PrintStream class.
System is class where out object is created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ranjeet
system:it is a class.
out : it is object of printstream which is call as method
during execution.
println:it is method .
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / 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 |
Answer / stranger_ajnabi53@yahoo.c
System is a class
out is a method of printstream.
println is method .
| Is This Answer Correct ? | 36 Yes | 92 No |
Give reasons supporting that string is immutable.
Why main method is called first in java?
What is the purpose of the strictfp keyword?
What is the Layout for ToolBar?
What is remote method invocation (rmi)?
Describe the term diamond problem.
What is the difference between a constructor and a method?
Explain about version control?
What is the difference between a method and a function in alice?
What are the benefits of immutable objects?
What is anagram number?
Explain about join() method?