The base class access specifier determines the access privillege of a derived class to its base class.
In this exercise, we are going to inspect the access at three different scope:
1. Inside the Base class by the base class constuctor.
2. Inside the Derived class by the derived class constructor.
3. At the application , by referencing to the instance methods.
Attachment:- program.txt