一些异常
Exception
IOException
NumberFormatException
IllegalArgumentException
ArrayIndexOutOfBoundException
用法
try{}
catch(e){}
throws Exception{}
catch(e){}
交互式输入
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line = in.readLine();