Which code segment should you insert at line 09?

You write the following X + +code: (Line numbers are included for reference only.)


You need to handle the deadlock exception and the error exception.
Which code segment should you insert at line 09?
A. catch(Exception::deadlock) catch(Exception::error) info("Exception occurred");
B. catch(Exception) info("Exception occurred");
}
C. catch(Exception::deadlock) info("Exception occurred"); catch(Exception::error) info("Exception occurred");
D. catch(Exception::deadlock. Exception::error) info("Exception occurred");

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.