How to use superclasses methods when we are working with arraylists?

后端 未结 0 1930
孤独总比滥情好
孤独总比滥情好 2020-12-17 20:05

I created arraylist of a subclass and didn\'t get how to use method of superclass. I think i should cast it but couldn\'t do it.

so i have these superclass and subcla

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