Write a complete Java program named Exam1.java that does the…

Write a complete Java program named Exam1.java that does the followings: 1) Ask the user to enter an integer and read in the integer from the keyboard 2) Determine if the integer the user entered is odd or even, and display the result. (Hint: an integer   is odd if the division of by 2 has reminder 1.) Your program must produce the sample input (red) and output (blue) dialogs as follows: Enter an integer: 13The number 13 is odd. Enter an integer: -2The number -2 is even.