Examveda
Examveda

What is the access specifier that restricts access to members of a class to only its derived classes in C++?

A. public

B. private

C. friend

D. protected

Answer: Option D


Join The Discussion

Related Questions on Inheritance in C plus plus