Cisco interview question

How to detect if a number is prime in Java?