Vidyalelo
C# Programming · Q52

Introduction to C Sharp

Programming · C# Programming · question 52

Q52

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
Answer
C.
Allows access from any class
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board