How can I make a class implement an interface after it's been declared?

前端 未结 0 1847
终归单人心
终归单人心 2021-01-13 07:32

Let\'s assume I have a class Thing and an interface ThingDoer. I can\'t change Thing, so I can\'t just tack implements ThingDoer

相关标签:
回答
  • 消灭零回复
提交回复
热议问题