Win a copy of Head First Go this week in the Go forum!
  • 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
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

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

 
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
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 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: 39175
724
Eclipse IDE Java VI Editor
  • 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!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!