Turning a class member into an object member after class declaration

前端 未结 0 899
無奈伤痛
無奈伤痛 2021-02-14 00:12

Usually one initializes class members inside the class (not into the constructor) and the references them via MyClass.mymember instead of self.mymember

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