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 out int in c#?
What is a custom attribute?
What is difference between new and override in c#?
How to implement singleton design pattern in c#?
How can you reference current thread of the method ?
What is ioc containers c#?
How many aware interfaces are there?
What is the use of readkey in c#?
What is Fragmentation and its Types?
What is static classes in c#?
What is a collection class in c#?
Describe the ways of cleaning up objects in c#.
Why we use anonymous methods in c#?
What is difference between C# and VB.NET?
Explain the term inheritance in C#.