Boyarsky, Jeanne; Selikoff, Scott. OCP Oracle Certified Professional
Java SE 11 Developer Complete Study Guide (p. 489). Wiley. Kindle Edition.
Question number 7 states that we should choose 2 options, however, there are more choices, choice H is also valid.
Note that this question already has errata attached:
https://www.selikoff.net/ocp11-1/ (#7 – the question should not contain “to dog”)
Link:
https://coderanch.com/t/731633/certification/Sybex-Study-Guide-Page-Review
The review question asks:
Suppose module puppy depends on module dog and module dog depends on module animal. Which two lines allow module puppy to access the animal.behavior package in module animal? (Choose two.) - redacted with 7/4/20 errata in mind:
This code should also work:
Interestingly, option H is not discussed at all in Answers to review question, which is also a candidate for another errata!