This Java program is a test to find if a value is a prime number.