Select the statements which describe the correct usage of exception handling over conventional error handling approaches?
(a) As errors can be ignored but exceptions cannot be ignored
(b) Exception handling allows separation of program’s logic from error handling logic making software more reliable and maintainable
(c) try – catch – finally structure allows guaranteed cleanup in event of errors under all circumstances
(d) All of the mentioned
I have been asked this question in an interview for internship.
This key question is from Fundamentals of Exception Handling topic in chapter Indexers and Exception Handling of C#