in C Plus Plus by
Q:

What is the role of protected access specifier?

▼ Show 1 Answer

0 votes
by

If a class member is protected then it is accessible in the inherited class. However, outside the both the private and protected members are not accessible.

Learn More with Madanswer

Related questions

+1 vote
0 votes
asked Nov 24, 2020 in C Plus Plus by sharadyadav1986
...