# Prime Number Program in Java

## What is a Prime Number?

A **prime number** is a positive integer that has exactly two positive integer factors, **1 and itself** . Another way of saying this is that a prime number is a **positive integer** that is not the product of two smaller positive integers.

Here is a list of all the **prime numbers up to 100** :

- 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97