0_0_12179107_23139\Main.java:7: 需要 ')' Scanner cin=new Scanner(System.in ^ 0_0_12179107_23139\Main.java:8: 不是语句 while(cin.hasNext()) ^ 0_0_12179107_23139\Main.java:8: 需要 ';' while(cin.hasNext()) ^ 3 错误