Question: Given the following code, what will happen if the value of denom is 0 ? a . Nothing will happen because there is no catch
Given the following code, what will happen if the value of denom is a Nothing will happen because there is no catch block.b The program will display ERROR: Cannot divide by zero. and then move to the statement following the ifelse block.c The program will display ERROR: Cannot divide by zero. and then halt.d There is no throw point because there is no try block.e None of these
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
