+ 4

What is 'System' in the statement 'System.out.println()' ?

In the statement-'System.out.println()', if 'out' is an object and 'println()' is a method,then what is 'System' in it.If it is a class or package,give reason why it is used for calling the println() method.

16th Jan 2018, 10:47 PM
Sujal Kumar
Sujal Kumar - avatar
4 Answers
+ 3
System is a class that exposes fields and methods in order to manage standard input, output and error streams; access to externally defined properties and environment variables.
17th Jan 2018, 6:10 AM
AtoMX
AtoMX - avatar
+ 2
system is a class used in java.lang package
20th Jan 2018, 2:32 PM
Chaw Khin
Chaw Khin - avatar
+ 2
System is a class in java which is used for taking input as well as showing output.
21st Jan 2018, 7:10 PM
Raghav Bhasin
Raghav Bhasin - avatar
+ 2
System are predefined packages and library functions which gives you the freedom to perform many operations
21st Jan 2018, 8:39 PM
Amrit Sahani
Amrit Sahani - avatar