Question: Suppose you have these two JARs from Java 8 . Which steps, when taken together, would be the best way to make them modules? (Choose

Suppose you have these two JARs from Java 8Which steps, when taken together, would be the best way to make them modules? (Choose two.) 

baby.otter food.fish

A. Add a module-info.java to each.

B. Add them to the classpath.

C. Create a third module to contain the common code.

D. Merge them into one module to break the cyclic dependency.

E. Rename the modules to use dashes instead of dots.

baby.otter food.fish

Step by Step Solution

3.48 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To make Java 8 JARs into modules you would typically start by adding a moduleinfojava file to each J... 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!