Question: Consider the following code snippet and assume code block A attempts to execute. When will code block C execute?: * try { //Code Block A

Consider the following code snippet and assume code block A attempts to execute. When will code block C execute?: * try { //Code Block A } catch (Exception ex) { string message = ex.Message; //Code Block B } finally { //Code Block C } A) It will always execute. B) It will execute only if code block A succeeds. C) It will execute only if code execution falls into the catch block. D) It will execute only if code block B succeeds
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
