打印流 打印流可以把原本输出到控制台的信息输出到文件中.PrintStream是字节打印流(还有个对应的字符打印流是PrintWriter,这里不涉及) System类中有个变量: public final static PrintStream out = null; 赋值处: static { registerNatives(); } 打印流: public class PrintStream extends FilterOutputStream{...} public class Filte…