exam questions

Exam 1z0-819 All Questions

View all questions & answers for the 1z0-819 exam

Exam 1z0-819 topic 1 question 111 discussion

Actual exam question from Oracle's 1z0-819
Question #: 111
Topic #: 1
[All 1z0-819 Questions]

Given:



Given the directory structure:



Given the commands to execute at the Test directory prompt:



Which statement is true?

  • A. Create an empty module-info.java file in the Test directory and on execution of the given commands, the program prints:


  • B. On execution of the given commands, the program prints:


  • C. Execute java --module-path pac pac.Hello instead of java -cp pac pac.Hello and on execution the program prints:


  • D. On execution of the given commands, the program prints:

Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ASPushkin
6 days ago
Of course, syntax error has to be corrected javac -d pac Hello.java -> javac -d Test Hello.java java -cp pac pac.Hello -> java -cp Test Test.Hello
upvoted 1 times
...
ASPushkin
1 week ago
D. correct this class loadedd using classpath so this is unnamed moduler A. Failed unnamed moduler doesn't have moduler-info
upvoted 1 times
...
[Removed]
9 months, 2 weeks ago
Selected Answer: D
D is indeed Correct. Tested
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago