Why can't the "Statements following the structure" be used to close a file that the method has opened?

A good answer might be:

These statements will not execute if the try{} block throws an unhandled exception.


End of the Chapter

You have reached the end this chapter. Here is a list of exceptionally interesting topics. Click on a blue topic 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 Table of Contents

You have reached the end of the chapter.