Zenardy Interview Question

print prime numbers in java