Scanner的使用 导入import.unit.* (import java util.*)Scanner input =new Scanner(System.in);使用 int now = input.next();