For this Question: You are given an array having N integers. Find the absolute difference in sums of even numbers and odd numbers in the array.The first line of the input contains a single integer N.
The second line of the input contains N space seperated integers.

Constraints:
1 <= N <= 10<sup>5</sup>
1 <= A<sub>i</sub> <= 10<sup>9</sup>Print the absolute difference in sums of even numbers and odd numbers in the array.Sample Input:
5
3 4 6 9 7

Sample Output:
9, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
    public static void main (String[] args) {

        Scanner sc = new Scanner(System.in);
        int size = sc.nextInt();
        long evenSum = 0;
        long oddSum = 0;
        long temp;
        for(int i=0; i<size; i++){
            temp = sc.nextLong();
            if((temp&1)==0){
                evenSum += temp;
            }else{
                oddSum += temp;
            }
        }
        System.out.println(Math.abs(evenSum-oddSum));
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?