Akash Technolabs interview question

Jvm, write a code about prime number.