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
What is winforms c#?
Explain the three test cases in unit testing?
What is private virtual in C#?
What is a event in c#?
How to override a function in c#?
Is c# good for web development?
Can an abstract class have a constructor c#?
What is iqueryable and ienumerable in c#?
Is linkedhashset synchronized?
What is a property in c#?
What is difference between comparable and comparator?
how to stored and retrive video in Sql server using asp.net c#......?
When a Static Constructor is called in a Class?
What is generic types in c#?
What is marshalling and what are different kinds of marshalling?