Idea 项目 模块 包 类 Scanner代码模板 import java.util.Scanner // 导包 Scanner sc = New Scanner(System.in);//声明 int i = sc,nextInt()