Sail E0 Webinar
Question

Which statement is used to catch all types of exceptions?


Options:
A .  catch()
B .  catch(Test t)
C .  catch(----)
D .  none of the mentioned
Answer: Option C

This catch statement will catch all types of exceptions that arises in the program.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers