This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

“Sybex” OCP 11 - Chapter 11 page 474

 
Ranch Hand
Posts: 63
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Last sentence:

The second example only gives that privilege to the zoo.staff package.
It should be zoo.staff module.
zoo.staff is a module. Not a package.
 
author & internet detective
Posts: 39959
804
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's both. On page 469, figure 11.12 defines the zoo. staff module. In addition to the module-info.java, it contains one package named zoo.staff. And that package contains one class: Jobs.java.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic