For this Question: Given an integer n holding some random value, your task is to assign value 10 to the given integer.User task:
Since this is a functional problem you don't have to worry about the input. You just have to complete the function <b>Assignment_Operator()</b>, which takes no parameter.

<b>Constraints:</b>
1 <= n <= 100You don't need to print anything you just need to assign value 10 to the integer n.Sample Input:-
48

Sample output:-
10

Sample Input:-
24

Sample Output:-
10, I have written this Solution Code: static void Assignment_Operator(){
n=10;
}
, In this Programming Language: Java, Now tell me if this Code is compilable or not?