• 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
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

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: 11338
177
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
Marshal
Posts: 38681
677
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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!