Assume the current directory is bigProject, what is the result?

Given the following directory structure:

bigProject
|–source
| |–Utils.java
|
|–classes
|–

And the following command line invocation:

javac -d classes source/Utils.java

Assume the current directory is bigProject, what is the result?

Given the following directory structure:

bigProject
|–source
| |–Utils.java
|
|–classes
|–

And the following command line invocation:

javac -d classes source/Utils.java

Assume the current directory is bigProject, what is the result?

A.
If the compile is successful, Utils.class is added to the source directory.

B.
The compiler returns an invalid flag error.

C.
If the compile is successful, Utils.class is added to the classes directory.

D.
If the compile is successful, Utils.class is added to the bigProject directory.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *