dsJava programming examples with explanation pdf This is a Java Program to Check if a Given Integer is Odd or Even. Enter any integer…byJohn