This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
On Kathy and Burts book, I'm on chapter 2 and the figure 2-4 shows AcmeRover and it has a method called goOffRoad() which says it's required. I'm wondering why this is required? It's not in Car, Sportscar or SUV.
Whod, Abstract goOffRoad() is a method crated specifically for the abstract SUV class. SUV class is an abstract class with an abstract goOffRoad() method. AcmeRover is a concrete subclass of abstract SUV class, therefore it must implement all abstract methods of the superclass. That would be why it is required in the AcmeRover class. Hope that helps. [ March 27, 2003: Message edited by: Linda Pan ]
Joined: Mar 20, 2003
thanks so much for taking time to help me. I appreciate it. I'm sorry my problem was that I wasn't reading it correctly. I was only seeing GoForward() and I was thinkig it was a typo or mistake, because I didn't see GoOffRoad() in the SUV class. Therefore, it wasn't making sense to me. Thanks so much for the help, it cleared things up