interact with an interface?
- by ajsie
from what i've read it seems that one can interact with an interface?
eg. lets say that i've got an interface with an empty method "eat()"
then 2 subclasses are implementing this interface.
can my controller interact with only the interface and use it's eat() method?
have a look at the picture in this link strategy