Question d’entretien chez Cognizant

Write prime number program in Java