We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
13
2 1
2 2
2 3
2 4
2 5
2 6
2 7
2 8
2 9
2 10
2 11
2 12
2 13
PRIME
PRIME
PRIME
COMPOSITE
PRIME
COMPOSITE
PRIME
COMPOSITE
PRIME
COMPOSITE
PRIME
COMPOSITE
PRIME
Not sure if the isPrime() method works. The loop seems to exit during the first iteration.
Java Lambda Expressions
You are viewing a single comment's thread. Return to all comments →
13 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 11 2 12 2 13 PRIME PRIME PRIME COMPOSITE PRIME COMPOSITE PRIME COMPOSITE PRIME COMPOSITE PRIME COMPOSITE PRIME
Not sure if the isPrime() method works. The loop seems to exit during the first iteration.