Learn and Apply

Prime Number Program in Java

Prime Number Program:

Prime number is a number that is divided by 1 or itself and greater than 1 . In other words, prime numbers can’t be divided by 1 (or) other numbers than itself. For example 2, 3, 5, 7, 11, 13, 17,19,23,29…. etc. are the