For this Question: Given an integer N, your task is to represent the given integer as a binary number.Input contains a single integer containing the value of N.

Constraints:-
0 <= N <= 1000000000Print a string containing the binary representation of the given integer.Sample Input:-
9

Sample Output:-
1001

Sample input:-
3

Sample Output:-
11, 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 N = sc.nextInt();
	  System.out.println(Integer.toBinaryString(N));
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?