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 blue subject that interests you to go to where it was discussed. To get back here, click on the "back arrow" button of your browser.