Were the contents of x and y altered by this conversion?

A good answer might be:

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.


End of the Chapter

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.



Click here     Back to the main menu.

You have reached the end of the chapter.