why this derived class have p?
# getting-started
i
why this derived class have p?
d
It does not have to. It might as well do something like:
class Derived : Base(42)
a
The constructor isn't inherited.