📜  读取整数输入java代码示例

📅  最后修改于: 2022-03-11 14:52:32.506000             🧑  作者: Mango

代码示例1
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());