1、System.out.println();
调用System类中的public static final PrintStream out,输出为PrintStream(字节形式的输出流,为OutputStream的子类),再调用该类中的println方法
Api文档:
public void println()
Terminates the current line by writing the line separator string. The line separator string is defined by the system property
line.separator
, and is not necessarily a single newline character (
'\n'
).