You have the following code (line numbers are included for reference only):
You need to ensure that if an exception occurs, the exception will be logged.
Which code should you insert at line 28?
A. Option A
B. Option B
C. Option C
D. Option D
You have the following code (line numbers are included for reference only):
You need to ensure that if an exception occurs, the exception will be logged.
Which code should you insert at line 28?
A. Option A
B. Option B
C. Option C
D. Option D
B and C are correct – works and have the same output
C is wrong because the 2nd parameter is source name, not message. Correct answer is B
many people suggested that both B and C are accepted..
Answer is confusing sometimes..
https://vceguide.com/which-code-should-you-insert-at-line-28-3/
should be B