Member Access Modifiers - Inheritance — RexDac Academy

RexDac AcademyTechnical notes · Some prior knowledge helps
0%Published notes read · this device

Level 5 — Inheritance

Member Access Modifiers - Inheritance

Original notes by SunDiaL · View English source

More keywords that allow you to control whether child classes have access to parent members. They are:

  • protected - members can be accessed from the owner class or inheriting classes.
  • protected internal - members can be accessed from the owner class, inheriting classes, and other classes that are declared in the same project
  • private protected - members can be accessed from the owner class and from inheriting classes that are declared in the same project