Originally posted by meraman odedra:
I have one query plz explain me
What is System?
What is out?
What is println()?
I try to respond but i am a beginner to so anybody could correct me.
Deduction looking javadoc:
System is a java.lang class. From javadoc :
The System class contains several useful class fields and methods. It cannot be instantiated. Among the facilities provided by the System class are standard input, standard output, and error output streams; access to externally defined properties and environment variables; a means of loading files and libraries; and a utility method for quickly copying a portion of an array.
out is a static field of the system class, it contains an object PrintStream that rapresent the standard output, wich by default is the console.
From javadoc :
The "standard" output stream. This stream is already open and ready to accept output data. Typically this stream corresponds to display output or another output destination specified by the host environment or user.
For simple stand-alone Java applications, a typical way to write a line of output data is:
See the println methods in class PrintStream.
println() is a method of PrintStream class.
So at the end i suggest you to look at java documentation and try to understand all base classes as java.lang package.