Both are wrong -
In the first case, you initialize the members of the base class in the constructor of the derived class and are bad practice. The problem here is that you have to use inheritance here and let the base class initialize the inherited elements through the constructor of the base class.
, . , . , .