The following example code appears on page 378, illustrating interface usage:
The text then states "In this example, the Owl class implements the HasBigEyes interface..." - but it doesn't, it implements the same two interfaces that HasBigEyes does, but it doesn't implement that interface.
Michael Reeve wrote:
The text then states "In this example, the Owl class implements the HasBigEyes interface..." - but it doesn't, it implements the same two interfaces that HasBigEyes does, but it doesn't implement that interface.
Welcome to Coderanch!
Didn't find that in the errata. You are correct! CSG appears to have the same typo.