• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

errata for K&B book?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I want to point out the wording of answer #8 on p.142 of K&B's SCJP book caused me hours of frustration. :roll: :roll:

It says "Nonested classes cannot be protected(or final for that matter..."
I understand that no class can be marked protected, and IN THIS CASE because there is a SUBCLASS, the parent class should not be marked final, BUT.. it comes across that no non-inner class should ever be marked final, which is not true. Is there an errata for this book?

Also, in question 3 of the same self-test, the use of the word "implement" is taken to mean that there is code in the curly braces AND the word abstract is removed for a method, in particluar for choice F. Will the actual exam be more clear, or will I be able to ask someone to clarify that during the test? I would have expected it to state clearly that the keyword was removed. I thought that implement meant write code in the curly braces, which together with the abstract keyword would cause a compilation error, making F a valid answer.
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe the post is same as https://coderanch.com/t/248260/java-programmer-SCJP/certification/book-where-nd-edition-errata

It is better not to post the same message.

Nick
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
However, we do appreciate that you've registered a new account with a valid name. Thanks. To avoid confusion, I'll close the old post and keep this one open. Usually though we prefer not to duplicate posts, as it confuses people and splits up the responses (so when I respond, I may not see that someone else has already said the same thing in another thread).
 
f8
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Really
Can someone answer the Java questions I posted
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What java questions? In the post above I see a question about the errata and a question about the exam.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see a question about the errata and a question about the exam.
 
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is there an errata for this book?



Yup, the errata can be found here.
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

It says "Nonested classes cannot be protected(or final for that matter..." I understand that no class can be marked protected, and IN THIS CASE because there is a SUBCLASS, the parent class should not be marked final, BUT.. it comes across that no non-inner class should ever be marked final, which is not true.



The statement "Nonnested...." on pg 142 has already been corrected in the errata.
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
will I be able to ask someone to clarify that during the test?

Nope. That's not possible.

I would have expected it to state clearly that the keyword was removed.

How did you interpret the statement "If class A was not abstract..."?

I thought that implement meant write code in the curly braces, which together with the abstract keyword would cause a compilation error, making F a valid answer.

Is this what you're saying?



If so, it'll not cause compilation error. Even if "abstract class A" contains all the implemented methods like the one above, it is still an abstract class.

PS: Luckily, you're not the real Mrs. Moose, otherwise I'd be heartbroken. Now that I know Mr. Moose is still single, I'm so happy. Just kidding.
[ March 10, 2005: Message edited by: Joyce Lee ]
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"f8" I suggest that you read our JavaRanch Naming Policy and change your name to comply with it. Otherwise you will be locked out of this site.

Thanks
-Barry

User's profile noted here.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
f8, you have been warned multiple times, and constantly changed your display name to one that is a blatant out of our policy. If you do not change to your real first and last name, we will close your account.

Thanks

Mark
reply
    Bookmark Topic Watch Topic
  • New Topic