Exam4Training

In which situation should a developer include a try .. catch block around their function call?

In which situation should a developer include a try .. catch block around their function call?
A . The function has an error that should not be silenced.
B . The function results in an out of memory issue.
C . The function might raise a runtime error that needs to be handled.
D . The function contains scheduled code.

Answer: C

Exit mobile version