How to find the prime number and not a prime number using java program

How to find the prime number and not a prime number using java program

More to explore

Based on this image's title: “How to find the prime number and not a prime number using java program