returning an abstract class from a function

后端 未结 7 789
甜味超标
甜味超标 2020-12-03 07:07

Is it possible to return an abstract class(class itself or a reference, doesn\'t matter) from a function?

相关标签:
7条回答
  • 2020-12-03 07:35

    Abstract classes cannot be instantiated and thus not returned.

    0 讨论(0)
提交回复
热议问题