+ 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.
4 Respostas
+ 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.
+ 2
system is a class used in java.lang package
+ 2
System is a class in java which is used for taking input as well as showing output.
+ 2
System are predefined packages and library functions which gives you the freedom to perform many operations