public class SysteminDemo {
public static void main(String[] args) throws IOException {
/*InputStream is=System.in;
//转换
InputStreamReader isr=new InputStreamReader(is);
BufferedReader br=new BufferedReader(isr);*/
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
//键盘输入
String line=br.readLine();
System.out.println(line);
//整数
line=br.readLine();
//转成整数
int i=Integer.parseInt(line);
System.out.println(i);
}
}
09-02