When you inherit a protected class-level variable, who is
it available to?
Answer Posted / raja chandrasekaran
Protected class level variables can be accessed with in the
same class and accessed by the derived classes.Derived
classes can be in different assembly also. Even the
variables are private, it will be derived into the child
class. But the thing is, it is not accessible due to its
protection level.
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
Explain namespaces in c#.
Is std :: string null terminated?
What are reflections in c#?
What is the difference between proc. Sent by val and by sub?
What is a partial method?
What is the purpose of dependency injection?
Does a loop recorder have to be removed?
What is difference between private and protected?
What is a method c#?
What is xml comments in c#?
What is the difference between ref & out parameters in c#?
What is a property c#?
Why is dll used?
What does typeof return c#?
What you mean by inner exception in c#?