The system is a class that is located inside the Java.lang package.
Out is a PrintStream type static property of this system class.
println () is the PrintStream method for this static property out of the owning class.
System {
static printstream out; Out is a variable defined by another class, using other classes of methods , out is equivalent to an object
...//The system class does not have a Pringln method, another class has, and then the System class declares an object of another class, and then calls the method
}
public class PrintStream{
Public ... println () {...}
}
Then SYSTEM.OUT.PRINTLN () can call this method.
System is a class, out is a member variable of the type of another class under that class, and then out can call methods of other classes
1. There is a system class under Java.lang
2. The system class below has a member variable of type Pringstream out
————————————————————————————————————
The method members inside:
——————————————————————————
An additional interface:
There's a way:
Request.getparameter ("XXX")
System.out.println () Understanding and HttpServletRequest and XMLHttpRequest