How do I save a variable in a class without the variable being lost through class inheritance

后端 未结 0 1508
温柔的废话
温柔的废话 2020-12-19 04:29

I want it so that when the active() function Is called in the StopSign class, it calls the stop() function in the Car cla

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