[HD Pg 0, Sec. 16.2.2 - packaging-a-module]

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
DazedTurtle
Posts: 26
Joined: Wed Oct 02, 2019 1:42 pm
Contact:

[HD Pg 0, Sec. 16.2.2 - packaging-a-module]

Post by DazedTurtle »

I don't know if this counts as "errata" or not, but earlier in the chapter, it said that for the purpose of this chapter, the FQCN of our class would be "simpleinterest.SimpleInterestCalculator" instead of "com.abc.finance.calculators.simpleinterest.SimpleInterestCalculator."

However, for running the module, you say it's

Code: Select all

c:\ocp11\moduletest>java --module-path . --module com.abc.finance.calculators.simpleinterest
it should just be

Code: Select all

c:\ocp11\moduletest>java --module-path . --module simpleinterest
right?

admin
Site Admin
Posts: 10404
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: [HD Pg 0, Sec. 16.2.2 - packaging-a-module]

Post by admin »

You are right. Since the name of the module is just simpleinterest, it should be --module simpleinterest and not --module com.abc.finance.calculators.simpleinterest

Added to errata.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 18 guests