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 |
How can you sort dates?
why interfaces are faster than abstract classes?
What are the four integer types supported by java?
What is Unicast and Multicast object? Where we will use?
1 Answers Scope International,
What happens if we don’t define serial version uid?
what is java
What is class and object in java?
What is null data type?
What is the minimum and maximum length of an identifier?
How many types of JVM's (OR) Name of the JVM's which are used in Tomcat & Weblogic servers ?
What do you mean by checked exceptions?
what is stringtolennizer with example?