• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Sybex 816. Chapter 6 review question 14 inconsistency

 
Ranch Hand
Posts: 53
3
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Jeanne and Scott, I believe that there is a small inconsistency in Chapter 6 review question 14. It suggests introducing the third module magic.helper but answers contain instead of the module magic.helper.  

Suppose you have a project with one package named magic.wand and another project with one package named magic.potion. These projects have a circular dependency, so you decide to create a third project named magic.helper. The magic.helper module has the common code containing a package named magic.util. For simplicity, let's give each module the same name as the package.
Excerpt From: 2020. “Boyarsky J., Selikoff S. - OCP Oracle Certified Professional Java SE 11 Programmer II Study Guide  



E. requires magic.util; in the potion project

F. requires magic.util; in the wand project



 
author & internet detective
Posts: 42145
937
Eclipse IDE VI Editor Java
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Agreed. Added to errata. Also, thank you for explaining it this way. This errata was actually reported already, but I missed the point of it and thought it wasn't wrong!
 
Oksana Cherniavskaia
Ranch Hand
Posts: 53
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are welcome. I am glad to be helpful. Thank you for the great book.  
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic