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  

Suggest a few other values with which the program should be tested.

Answer:

1.0 is always a good number to worry about. Its square root is the same as itself; perhaps this special case will confuse the program? Also very large numbers should be tested; perhaps the initial guess of 1.0 will not work for them.

You have reached the end of the chapter.

go to previous page   go to home page