Were the contents of x and y
altered by this conversion?
No—new int values were created based on the information in
x and y,
and these values were used in the method call.
The variables x and y remain unchanged.
You may wish to review the following. Click on a subject that interests you to go to where it was discussed.