Fast Enterprises interview question

To write code in java that finds the first 100 prime numbers