For this Question: Given an integer, your task is to check whether the given integer is even or odd.
If the integer is even print 0 else if it is odd print 1.The input contains a single integer N.

Constraint:
1 &le; N &le;10000If the integer is even print 0 else if it is odd print 1.Sample Input:-
15

Sample Output:-
1

Sample Input:-
16

Sample Output:-
0, I have written this Solution Code: import java.util.Scanner;
class Main {
   public static void main (String[] args)
   {
       //Capture the user's input
       Scanner scanner = new Scanner(System.in);
       //Storing the captured value in a variable
       int side = scanner.nextInt();
       
       int area = EvenOrOdd(side); 
       System.out.println(area);
   
}

static int EvenOrOdd(int N){
return N%2;
}}, In this Programming Language: Java, Now tell me if this Code is compilable or not?