English

What is not true for exception handling?

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
Advertisements

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 in Python
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×