Fidelity Investments interview question

Java Program to Check Whether a Number is Even or Odd