About base class in derived class initialization

后端 未结 5 1783
醉梦人生
醉梦人生 2021-01-24 10:41

guys. I see several cases like:

class Derived:public Base{

public:
    Derived(...):Base(...){}
}

Is what situation or is there any principle

5条回答
提交回复
热议问题