Question: Which statements are true about the requires directive? (Choose two.) A. Changing it to a requires direct directive is always allowed. B. Changing it to
Which statements are true about the requires directive? (Choose two.)
A. Changing it to a requires direct directive is always allowed.
B. Changing it to a requires direct directive is never allowed.
C. Changing it to a requires direct directive is sometimes allowed.
D. Including requires java.base is allowed, but redundant.
E. Including requires java.base is never allowed.
F. Including requires java.base is sometimes needed to change the meaning of a file.
Step by Step Solution
3.46 Rating (146 Votes )
There are 3 Steps involved in it
The correct statements about the requires directive in Java are D Including requires jav... View full answer
Get step-by-step solutions from verified subject matter experts
