Change the type of an object from a super class to subclass

后端 未结 0 1858
青春惊慌失措
青春惊慌失措 2021-01-15 05:50

I have a superclass for regular customers stored in a list and then I need to be able to change the superclass object to another subclass or even between subclasses (ex: Sil

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