Comptia Security Exam Practice Questions Sample SY0 501 Q18

Refer to the following code:

Which of the following vulnerabilities would occur if this is executed?

A. Page exception
B. Pointer deference
C. NullPointerException
D. Missing null check

Correct Answer: C