Generics with inheritance issue

后端 未结 0 886
旧巷少年郎
旧巷少年郎 2020-12-07 18:56

Please, consider my code:

class Fruit {}

class Apple extends Fruit {}

class Pear extends Fruit {}

abstract class AbstractProducer

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