• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Errata addition Page 249, first sentence (Java OCA 8 Programmer I Study Guide, Sybex)

 
Greenhorn
Posts: 7
2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Page 249, the very first sentence.

The book has:
"The first method, fly(), is overloaded in the subclass Eagle, since the signature changes from a no-argument constructor to a constructor with one int argument"

Which should be something like:
"The first method, fly(), is overloaded in the subclass Eagle, since the signature changes from a no-argument method to a method with one int argument"
...because fly() is not a constructor.
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter Deak,

First of all, a warm welcome to CodeRanch!

Peter Deak wrote:Which should be something like:
"The first method, fly(), is overloaded in the subclass Eagle, since the signature changes from a no-argument method to a method with one int argument"
...because fly() is not a constructor.


You are absolutely spot-on! Little bit weird that the official errata overview has already a bunch of items, but such an "obvious" one is not yet on the list. Thanks for taking the effort to share it with us (and the authors). Have a cow!

Hope it helps!
Kind regards,
Roel
 
author & internet detective
Posts: 41762
885
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
Peter,
Welcome to CodeRanch!

I've added this in the errata. That's a good catch. Definitely a method!
 
reply
    Bookmark Topic Watch Topic
  • New Topic