0_0_26754149_14973\Main.java:2: 错误: 需要class, interface或enum
public classMain {
^
0_0_26754149_14973\Main.java:3: 错误: 需要class, interface或enum
public static void main(String[] args) {
^
0_0_26754149_14973\Main.java:5: 错误: 需要class, interface或enum
while(kb.hasNext()) {
^
0_0_26754149_14973\Main.java:7: 错误: 需要class, interface或enum
char b[]=a.toCharArray();//将字符串内容转换为字符数组
^
0_0_26754149_14973\Main.java:8: 错误: 需要class, interface或enum
char c='a';
^
0_0_26754149_14973\Main.java:9: 错误: 需要class, interface或enum
String d="";
^
0_0_26754149_14973\Main.java:10: 错误: 需要class, interface或enum
for(int i=0;i<b.length;i++)
^
0_0_26754149_14973\Main.java:10: 错误: 需要class, interface或enum
for(int i=0;i<b.length;i++)
^
0_0_26754149_14973\Main.java:10: 错误: 需要class, interface或enum
for(int i=0;i<b.length;i++)
^
0_0_26754149_14973\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_26754149_14973\Main.java:17: 错误: 需要class, interface或enum
for(int i=0;i<b.length;i++)
^
0_0_26754149_14973\Main.java:17: 错误: 需要class, interface或enum
for(int i=0;i<b.length;i++)
^
0_0_26754149_14973\Main.java:20: 错误: 需要class, interface或enum
{d+=b[i]+"(max)";}
^
0_0_26754149_14973\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_26754149_14973\Main.java:25: 错误: 需要class, interface或enum
}
^
15 个错误
|