• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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
  • 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
  • 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: 39435
768
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter,
Welcome to CodeRanch!

I've added this in the errata. That's a good catch. Definitely a method!
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!