重定向标准输入/输出

System.in和System.out代表系统的标准输入和输出。
System提供了以下方法将其重定向
public static void setOut(PrintStream out);
public static void setIn(InputStream in);

posted on   lkwkk  阅读(58)  评论(0编辑  收藏  举报
努力加载评论中...

点击右上角即可分享
微信分享提示