Is there any relation between the class that implements interface and that interface?

后端 未结 8 828
有刺的猬
有刺的猬 2020-12-19 16:56

Consider this class hierarchy:

  • Book extends Goods
  • Book implements Taxable

As we know, there is a relationship

8条回答
  •  佛祖请我去吃肉
    2020-12-19 17:28

    "Behaves like..."

    That's what what I would say. Not is something, but behaves like something. Or as an alternative "can something", but that's more specific than behaviour.

提交回复
热议问题