首页 > 代码库 > java输入输出(快速)

java输入输出(快速)

头文件:

import java.io.*;

定义:

BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);

输入输出:

a = new Integer(in.readLine());
out.println("Hello!");


java输入输出(快速)