Problem #13


Given:

elli = circ.SOMEMESSAGE()

We know elli is of type Ellipse.

We now look at the available messages for SOMEMESSAGE.

We know that SOMEMESSAGE must be a method on Circle (because circ is type Circle).

Here are the candidates (from Headers page):


Therefore, this statement is impossible:

elli = circ.SOMEMESSAGE()

That is, there is no real message we can replace the template "SOMEMESSAGE" with. Therefore, we have no solution.