nerdexam
GIAC

GSSP-JAVA · Question #189

Which of the following syntaxes is used to run the application packaged as a JAR file?

The correct answer is C. java -jar app.jar. See the full explanation below for the reasoning.

Question

Which of the following syntaxes is used to run the application packaged as a JAR file?

Options

  • Ajavac jar app.jar
  • Bjavac -jar app.jar
  • Cjava -jar app.jar
  • Djava jar application.jar

How the community answered

(20 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    80% (16)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice