Scanner类
Scanner sn = new Scanner(System.in);
int age = sn.nextInt();
Scanner sn = new Scanner(System.in);
int age = sn.nextInt();