請問錯在哪?
import java.math.BigInteger;
import java.util.Scanner;
public class TestPrime {
public static void main(String[] args) {
while(true){
Scanner sc=new Scanner(System.in);
Boolean b;
b=sc.nextBigInteger().isProbablePrime(1);
System.out.println(b);
}
}
}