Advertisements
Advertisements
Question
An exception may be raised even if the program is syntactically correct.
Options
True
False
MCQ
True or False
Solution
This Statement is True.
Explanation:
An exception is a unique situation that may occur during programme execution. Because exceptions can arise for a variety of causes, such as "File not found", "Invalid Inputs", "Keyboard error", and so on, they can occur even though the programme is syntactically accurate.
shaalaa.com
Exceptions
Is there an error in this question or solution?