Vidyalelo
Python · Q49

Exception Handling in Python

Programming · Python · question 49

Q49

How can you create a custom exception class in Python?

A.
By inheriting from the Exception class
Answer
B.
By using the throw keyword
C.
By using the custom keyword
D.
By creating a new class

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board