aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Erratum in K&B SCJP 5: Page 97: display() vs. displayShape() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Erratum in K&B SCJP 5: Page 97: display() vs. displayShape()" Watch "Erratum in K&B SCJP 5: Page 97: display() vs. displayShape()" New topic
Author

Erratum in K&B SCJP 5: Page 97: display() vs. displayShape()

Gudny Hauknes
Greenhorn

Joined: Oct 03, 2006
Posts: 2
Should this be displayShape() according to declarations on pages 87 and following?



(Topic title: Doubt -> Erratum)
[ October 06, 2006: Message edited by: Barry Gaunt ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
It does look like it means the method displayShape() in class GameShape.
Bert?


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8898
    
    5
yup - it should be displayShape()

thanks guys!


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
 
Don't get me started about those stupid light bulbs.
 
subject: Erratum in K&B SCJP 5: Page 97: display() vs. displayShape()