System.out.println () Understanding and HttpServletRequest and XMLHttpRequest

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.