Inheritance of visibility for auto-detected members.
When parent member is public, the auto-detected child that overrides it will also become public. Similarly when parent is explicitly set to private, the child will become private. But when no parent at all, auto-detected members will be private.
Loading
Please sign in to comment