![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java System类对IO的支持
「已注销」
这个作者很懒,什么都没留下…
展开
-
Java System类对IO的支持(输出)
import java.io.OutputStream;public class Demo { public static void main(String[] args) throws Exception { OutputStream out = System.out; out.write("Hello World".getBytes()); }}原创 2018-04-10 11:09:40 · 188 阅读 · 0 评论 -
Java System类对IO的支持(输入)
import java.io.InputStream;public class Demo { public static void main(String[] args) throws Exception { InputStream in = System.in; StringBuffer buf = new StringBuffer(); System.out.println(...原创 2018-04-10 11:16:23 · 156 阅读 · 0 评论