Computer Science for IGCSE & O level - Programming (Section 11 - No. 2)

What is the most common way to handle a file if an error is detected?
Ignore it
Close all files
Display an error and exit
Use exception handling

Explanation

Exception handling (try/catch) is designed to manage and resolve errors without abrupt program termination.

Comments (0)

Advertisement