A lucky pick java program on my subject to print the prime numbers in java.