| ||||||||||
Let's start with 1. run() and die() are not instances. Think of this question another way. Which CLASSES understand forward()? 5 and 6 are okay, but 4 is wrong. 8 is also wrong. Mark Guzdial |
Yes on 8. 1 and 4 are wrong yet. Mark Guzdial |
The latter. The superclass and all its subclasses know how to do whatever the superclass knows how to do – all the (protected and public) methods get shared. Mark Guzdial |
Yes |
The 1 means 1, the means 0 to any. |
Private vs. Public. Yes, we did discuss that in class.Mark Guzdial |
Right. |