Examveda

In C#, what is the purpose of the 'protected' access modifier?

A. Allows access from any class within the assembly

B. Restricts access to the current class and its derived classes

C. Allows access from any class

D. None of the above

Answer: Option B


This Question Belongs to C Sharp Programming >> Introduction To C Sharp

Join The Discussion

Related Questions on Introduction to C Sharp