Can we define exceptions twice in same block ?

  1. True

  2. False


Correct Option: B

AI Explanation

To answer this question, we need to understand how exceptions are defined in programming.

In most programming languages, including Python, it is not possible to define the same exception twice within the same block. This is because an exception is typically defined as a class or object, and you cannot have two classes or objects with the same name within the same scope.

Therefore, the correct answer is B) False.

Find more quizzes: