Java SE 11 Developer — Question 6

Given:
jdeps -jdkinternals C:\workspace4\SimpleSecurity\jar\classes.jar
Which describes the expected output?

Answer options

Correct answer: A

Explanation

The correct answer, A, accurately describes the output of the jdeps command, which includes module dependencies and package names for referenced JDK internal APIs, along with suggested replacements. Option B is incorrect because the -jdkinternals option does not require -summary or -verbose to provide output. Option C misrepresents the focus of the analysis, as it does not specifically mention JDK internal APIs. Option D is partially correct but does not emphasize the output of suggested replacements, which is a key aspect of option A.