0_0_28956720_3836\Main.java:2: 错误: 需要class, interface或enum
public static boolean isPrime(int n) {
^
0_0_28956720_3836\Main.java:4: 错误: 需要class, interface或enum
for (int j = 2; j <= Math.sqrt(n); j++) {
^
0_0_28956720_3836\Main.java:4: 错误: 需要class, interface或enum
for (int j = 2; j <= Math.sqrt(n); j++) {
^
0_0_28956720_3836\Main.java:4: 错误: 需要class, interface或enum
for (int j = 2; j <= Math.sqrt(n); j++) {
^
0_0_28956720_3836\Main.java:7: 错误: 需要class, interface或enum
break;
^
0_0_28956720_3836\Main.java:8: 错误: 需要class, interface或enum
}
^
0_0_28956720_3836\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_28956720_3836\Main.java:13: 错误: 需要class, interface或enum
public static void main(String[] args) {
^
8 个错误
|