Question: How many modules are part of the cyclic dependency? A. 0 B. 1 C. 2 D. 3 E. 4 module com.light { exports com.light; }
How many modules are part of the cyclic dependency?

A. 0
B. 1
C. 2
D. 3
E. 4
module com.light { exports com.light; } module com.animal { exports com.animal; requires com.light; requires com.plant; } module com.plant { exports com.plant; requires com.light; requires com.animal; } module com.worm { } exports com.worm; requires com.light; requires com.animal; requires com.plant;
Step by Step Solution
3.35 Rating (158 Votes )
There are 3 Steps involved in it
In the given module definitions a cyclic dependency occurs when ... View full answer
Get step-by-step solutions from verified subject matter experts
