After careful sorting, I formed this table. A table illustrating the different inheritance methods of derived classes, access rights to base classes.
In general, the scope of access to classes is public<protected<private. However, an appropriate inheritance method should be selected in conjunction with a specific project.