Explain the visibility of base class members for the access specifiers: private, protected and public
Answers
Answered by
2
Answer:
Public - The members declared asPublic are accessible from outside the Class through an object of theclass. Protected - The membersdeclared as Protected are accessible from outside the classBUT only in a class derived from it.Private - These members are only accessible from within the class.
Explanation:
i hope u r satisfied
Similar questions