interact with an interface?

Posted by ajsie on Stack Overflow See other posts from Stack Overflow or by ajsie
Published on 2010-04-23T09:15:02Z Indexed on 2010/04/23 11:33 UTC
Read the original article Hit count: 184

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about php

Related posts about oop