New instance of class based on argument

后端 未结 4 470
时光说笑
时光说笑 2021-01-26 15:23

I\'m trying to make a function that takes one of many classes that extends Foo, and return a new instance of that object in its Class, not a new instance of F

4条回答
提交回复
热议问题