Sail E0 Webinar
Question
What will be the reaction when a catch clause has no conditionals ?
Options:
A .  Takes it to be 0
B .  Takes it to be 1
C .  Takes it to be true
D .  Takes it to be false
Answer: Option C


If a catch clause has no conditional, it behaves as if it has the conditional if true, and it is always triggered if no clause before it was triggered.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers