Given the source file A.java: and the following directory hierarchy: Assuming that the current directory is /proj/src,

Question:

Given the source file A.java:

image text in transcribed

and the following directory hierarchy:

image text in transcribed

Assuming that the current directory is /proj/src, which of the following statements are true? Select the three correct answers.

(a) The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d . top/sub/A.java

(b) The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d /proj/bin top/sub/A.java

(c) The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -D /proj/bin ./top/sub/A.java

(d) The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d ../bin top/sub/A.java

(e) After successful compilation, the absolute pathname of the file A.class will be: /proj/bin/A.class

(f) After successful compilation, the absolute pathname of the file A.class will be: /proj/bin/top/sub/A.class

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: