Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Peter Deak
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.
 
Roel De Nijs
Sheriff
Posts: 10662
144
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic