JAVA- If you have an int as the actual parameters, will it change to fit the parameters if it requires a double, or will the code not compile? and vice versa, if you have a double but the parameters call for an int.

ex.
something(int x);

x= 5.0;