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

Answer:

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 subject that interests you to go to where it was discussed.

You have reached the end of the chapter.

go to previous page   go to home page