• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Sybex CSG Online Chapter 1 #16 errata

 
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sybex CSG Online Chapter 1 #16:

Online does not accept the correct answer. "Option C" should replace Online "Option B" also.  Please see Online (top) and Print (bottom) for reference.
Untitled.png
[Thumbnail for Untitled.png]
 
Enthuware Software Support
Posts: 4906
60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All of the options are correct because there is no restriction on the location of a java source file. In other words, location of a java source file has no relation to the package statement. Usually, the source location matches the package name but it is just for convenience.
 
Charles O'Leary
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Anilprem wrote:All of the options are correct because there is no restriction on the location of a java source file. In other words, location of a java source file has no relation to the package statement. Usually, the source location matches the package name but it is just for convenience.


Thanks Paul!  



Jeanne and/or Scott,

I guess this question/answer ties into Moot point now since command line javac isn't on the 819 exam that I briefly glanced at just before my OP that maybe I'm just digesting.  Page 21 "Compiling and Running Code with Packages" thru  page 26 "Running a Program in One Line with Packages" are now officially off the certification table via What don’t I need to study? Correct?

 
author & internet detective
Posts: 42134
937
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
Correct!
 
Charles O'Leary
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Correct!


Thanks Jeanne
 
reply
    Bookmark Topic Watch Topic
  • New Topic