Question d’entretien chez EY

Write a java program to print if a number is prime or not