- Exercise
Let's solve an exercise related to constructor inheriting in this lesson.
We'll cover the following
Exercise #
Inherit public
, protected
, and private
identifiers from a class using constructor inheritance. The constructors inherited from the base class keep their access level. The inherited class restricts them.
What does that mean for the inherited constructors?
Get hands-on with 1400+ tech skills courses.