If we inherit a class do the private variables also get
inherited ?
Answer Posted / javed khan
No, We cant inherit private member of base class. We got
error like " member is inaccessible due to its protection
level."
| Is This Answer Correct ? | 7 Yes | 13 No |
Post New Answer View All Answers
What is a web service in c#?
What is int32?
How do you pronounce c#?
What is a dynamic assembly?
How does inheritance work in c#?
In which way a two-dimensional array declared in C#?
What is a private method in c#?
What is JIT (just in time)? how it works?
Which are access modifiers available in c#?
Is visual c# free?
Which .gang of four. Design pattern is shown below?
What is the difference between inheritance and abstract class?
What type of data type conversion happens when the compiler encounters the following code?
What do u meant by "SBI" of an object?
Do loops in c#?