public final class Primes
extends java.lang.Object
Constructor and Description |
---|
Primes() |
public static final int next(int n)
n
- the numberpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- the program argumentsjava.lang.Exception
- if something goes wrong