错误: 找不到Scanner a = new Scanner(System.in); 符号: 类 Scanner

解决方案:

1、检查是否写new

2、检查是否写入scanner包:import java.util.Scanner;

你可能感兴趣的:(大数据,java,开发语言)