define System.out.println(); what is the meaning!

Answers were Sorted based on User's Feedback



define System.out.println(); what is the meaning!..

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

define System.out.println(); what is the meaning!..

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

define System.out.println(); what is the meaning!..

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

define System.out.println(); what is the meaning!..

Answer / rohit

System is contain class like console
out is refer printstream
println is refer pt also its contain new line

Is This Answer Correct ?    5 Yes 5 No

define System.out.println(); what is the meaning!..

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

define System.out.println(); what is the meaning!..

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

define System.out.println(); what is the meaning!..

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

define System.out.println(); what is the meaning!..

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

define System.out.println(); what is the meaning!..

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

Post New Answer

More Core Java Interview Questions

How can you sort dates?

2 Answers   TCS,


why interfaces are faster than abstract classes?

4 Answers  


What are the four integer types supported by java?

0 Answers  


What is Unicast and Multicast object? Where we will use?

1 Answers   Scope International,


What happens if we don’t define serial version uid?

0 Answers  






what is java

3 Answers   Tech Mahindra,


What is class and object in java?

0 Answers  


What is null data type?

0 Answers  


What is the minimum and maximum length of an identifier?

6 Answers   TCS,


How many types of JVM's (OR) Name of the JVM's which are used in Tomcat & Weblogic servers ?

1 Answers   TCS,


What do you mean by checked exceptions?

0 Answers  


what is stringtolennizer with example?

2 Answers   Symphony,


Categories