Question: We have a base class, and wish to have it's constructor accessible to derived classes, but not available elsewhere ( so that an object of
We have a base class, and wish to have it's constructor accessible to derived classes, but not available elsewhere so that an object of the base class can be constructed Under which access specifier do we place the base class constructor to achieve this?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
