Your debug output should be a bit more verbose. It's hard to tell what the list of numbers you've posted means:
println("num=" + num + ", start=" + start);
I have no idea what this means:
...
Type: Posts; User: Norm
Your debug output should be a bit more verbose. It's hard to tell what the list of numbers you've posted means:
println("num=" + num + ", start=" + start);
I have no idea what this means:
...
Try debugging your code by printing out the results of the tests so you can see what is happening. Add some println()s to the loop in the isPrime() method.