For this Question: You are given a sequence of 10 non- negative Integers, and print the sum of all these 10 integers.The first line contains 10 space- separated integers.

<b>Constraints</b>
0 &le; every integer &le; 100Print the sum of all these numbers.Sample Input 1 :
1 2 3 4 5 6 7 8 9 0

Sample Output 1 :
45, I have written this Solution Code: import java.util.*;
import java.lang.*;
import java.io.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int sum=0;
        for(int i=0;i<10;i++){
            int n=sc.nextInt();
            sum+=n;         
        }
        System.out.println(sum);
        // if(pd%20==0)
        //     System.out.println(true);
        // else
        //     System.out.println(false);
        
        
       
    }
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?