System标准输出流

package com.czie.iot1913.lps.IO.System;

import java.io.PrintStream;

/**
* FileName: SystemOutDemo
* Author: lps
* Date: 2022/3/27 16:34
* Sign:刘品水 Q:1944900433
*/
public class SystemOutDemo {
public static void main(String[] args) {
PrintStream ps = System.out;
ps.println("java");
ps.print("hello");
// System.out本质是一个字节输出流
System.out.println("Hello");


}
}

 

posted @ 2022-03-27 16:43  刘品水  阅读(37)  评论(0编辑  收藏  举报