Advertisements
Advertisements
Question
What is not true for exception handling?
Options
It is used in all programming languages
Helps in capturing runtime errors
Is only done for built-in exceptions
Separates the main logic of the code from the error detection and correction code
MCQ
Solution
Is only done for built-in exceptions
Explanation:
Exception handling is possible for both built-in and user-defined exceptions.
shaalaa.com
Handling Exceptions
Is there an error in this question or solution?