I was confused a bit by the practice question 19
check whether the caller correctly passed an instance of
Sample.Personor a subclass.
I thought it meant:
check whether the caller correctly passed an instance of
Sample.Person(which would be correct) or a subclass (which would be incorrect).
But it meant:
check whether the caller correctly passed an instance of
Sample.Personor a subclass (both would be correct).
- Log in to post comments
.png)