nerdexam
Oracle

1Z0-851 · Question #23

1Z0-851 Question #23: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-851 to reveal the answer and full explanation for question #23. The question stem and answer options stay visible for context.

Question

A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java -classpath /test:/home/bob/downloads/.jar games.Chess Bob's CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/.jar What is a possible location for the Chess.class file?

Options

  • A/test/Chess.class
  • B/home/bob/Chess.class
  • C/test/games/Chess.class
  • D/usr/lib/games/Chess.class
  • E/home/bob/games/Chess.class
  • Finside jarfile /opt/java/lib/Games.jar (with a correct manifest)
  • Ginside jarfile /home/bob/downloads/Games.jar (with a correct manifest)

Unlock 1Z0-851 to see the answer

You've previewed enough free 1Z0-851 questions. Unlock 1Z0-851 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-851 Practice