End of the Chapter

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page  

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