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 1Z0-815 study guide (Boyarsky & Selikoff) errors - part II

 
Greenhorn
Posts: 22
3
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi again,

I've just finished studying from the guide wrote by Jeanne and Scott (I'll be taking the exam soon!).
While going through the last sections of the book, I found another two small errors, so here we go:

1. The first one is a really small issue really. This is located at page 518 (review question answers, chapter 9). While reading the explanation for question 6, I've noticed the following:

D, E. Lines 1 and 2 are declared correctly, with the implicit modifier abstract being applied to the interface and the implicit modifiers coderanch, static, and final being applied to the interface variable, making options B and C incorrect. Option D is correct, as an abstract method cannot include a body. Option E is also correct because the wrong keyword is used. A class implements an interface; it does extend it. Option F is incorrect as the implementation of eatGrass() in IsAPlant does not have the same signature; therefore, it is an overload, not an override.



The highlighted part should be:

A class implements an interface; it does NOT extend it.



2.  This one's in the last section of the book, page 481. The issue is in table 11.5, last line, second column. I hope I am right for this one, but as far as I know the --show-module-resolution displays debugging information at startup (Java docs as additional reference). The example in the table does not include the -m option, specifying which module (class from the module actually) to run. So instead of:

java --show-module-resolution -p moduleFolderName -d moduleName

java --show-module-resolution --module-path moduleFolderName --describe-module moduleName



...it should be:

java --show-module-resolution -p moduleFolderName -d moduleName -m moduleName/package.name.ClassName

java --show-module-resolution --module-path moduleFolderName --describe-module moduleName -m moduleName/package.name.ClassName



Please correct me if I am wrong. I also see the -d option here. Does it work with --show-module-resolution? I must admit I am a bit confused though.

Thank you.

Adrian Pop

PS. Very good book by the way, well structured and it helped me cover the material easily. I'll be going over it again and I'll be taking as many mock exams as possible, then...yeah - I think I'll be ready for the exam!
 
Marshal
Posts: 80634
471
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please check the errata here.

No 1: That appears probably to be a new error.
No 2: Don't know.
 
author & internet detective
Posts: 42135
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I've added both to the errata. Thank you for pointing it out. After the 816 book comes out, the publisher is going to do a printing of both books together and we get a chance to fix any errata we are aware of. I'm looking forward to fixing the one in table 11.5 especially. We got it right on page 477 when we introduced show module resolution. The point of table 11.5 was to be a reference for study. It should be right!
 
    Bookmark Topic Watch Topic
  • New Topic