0_0_14996597_139\Main.java:5: 错误: 找不到符号 while(sc.hasNext){ ^ 符号: 变量 hasNext 位置: 类型为Scanner的变量 sc 0_0_14996597_139\Main.java:5: 错误: 非法的类型开始 while(sc.hasNext){ ^ 0_0_14996597_139\Main.java:8: 错误: 找不到符号 string str=""; ^ 符号: 类 string 位置: 类 Main 3 个错误