CBSE Class 12 Computer Science
Question 14 of 30
Exception Handling — Question 5
Back to all questionsraise
Reason — The raise statement allows the program to force a specified exception to occur at runtime. When a program encounters an abnormal condition during execution, an object of this exception is created and then thrown or raised to the code responsible for catching and handling it.