You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Notice that while we can't use `name` from outside of `Person`, we can still use it from within an instance method of `Employee` because `Employee` derives from `Person`.
191
191
192
-
A constructor may also be marked `protected`.
192
+
A constructor may also be marked `protected`.
193
193
This means that the class cannot be instantiated outside of its containing class, but can be extended. For example,
0 commit comments