Exam 1z0-819 All QuestionsBrowse all questions from this exam
Question 128

Which two commands are used to identify class and module dependencies? (Choose two.)

    Correct Answer: A, D

    The two commands that can be used to identify class and module dependencies are 'java --show-module-resolution' and 'jdeps --list-deps'. The 'java --show-module-resolution' command shows all modules required and resolved by the root, providing insight into module dependencies. The 'jdeps --list-deps' command is a command-line tool that can analyze the static dependencies of Java applications and libraries, listing the dependencies of a Java class file.

Discussion
ASPushkinOptions: BD

A exists java --show-module-resolution it shows all modules all the modules required and resolved by the root

d7bb0b2Options: BD

A and E not exist and C is a compiler class opcion.

StavokOptions: BD

The two commands that can be used to identify class and module dependencies are B. jmod describe and D. jdeps --list-deps.jmod describe is a command that can be used to display information about the contents of a jmod file, including its dependencies 1. jdeps --list-deps is a command that can be used to list the dependencies of a Java class file 1jdeps is a command-line tool that can be used to analyze the static dependencies of Java applications and libraries