1. 程式人生 > >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!");