• 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
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Sybex CSG 11 Chapter 11, page 492, question 21 (Kindle edition)

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question defines "n" as a package name. Shouldn't that be a module name (considering answer C to be a correct one)?
 
Marshal
Posts: 71730
312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch
Please provide the full details of the question so those of us who don't have that book can understand the question.
 
author & internet detective
Posts: 40390
821
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aleksandar,
C isn't the correct answer. G is. In fact the explanation covers that n being a package name is the reason for why it is G.
 
Aleksandar Putnik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,

In that case the answer in my version of the book is not correct.
The answer for the question 21, page 1141 currently states that the C is the correct answer.

This is the current answer from the book:


C. The -p option is a shorter form of --module-path. Since the same option cannot be specified twice, options B,D, and F are incorrect.
The --module-path option is an alternate form of -p. The module name and class name are separated with a slash, making option C the answer.



As mentioned in the title, I'm using a Kindle version.
ISBN codes are:
978-1-119-61913-0
978-1-119-61915-4 (ebk.)
978-1-119-61914-7 (ebk.)
 
Jeanne Boyarsky
author & internet detective
Posts: 40390
821
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't have the Kindle edition. Can you take a screenshot of that paragraph?
 
Aleksandar Putnik
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure, here it is.
answer_21.png
[Thumbnail for answer_21.png]
 
Normally trees don't drive trucks. Does this tiny ad have a license?
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic