Question: Assuming all referenced files and directories exist and are correct, what does this code do? A. Creates a JAR file representing the com.mouse module B.

Assuming all referenced files and directories exist and are correct, what does this code do? 

javac -m mods -d mouse mouse/com/mouse/*.java mouse/module-info.java jar -cvf mods/com.mouse.jar -C mouse/

A. Creates a JAR file representing the com.mouse module

B. Creates a JAR file that is not a module

C. Fails on the javac command

D. Fails on the jar command.

javac -m mods -d mouse mouse/com/mouse/*.java mouse/module-info.java jar -cvf mods/com.mouse.jar -C mouse/ .

Step by Step Solution

3.45 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

This code appears to be a sequence of commands in a shell script or command line interface for compi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!