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 generic c#?
Can a loop recorder detect a heart attack?
What does addressof operator do in background ?
Is stringbuilder thread safe c#?
Why constructor is used in c#?
What are the properties in c#?
Is Facebook a desktop application?
how can one use hcl and c sharp together?
Is it possible to inline assembly or il in c# code?
What is multiple interface in c#?
Explain the difference between the system.array.copyto() and system.array.clone()?
What is the difference between class and namespace?
Which sorting algorithm is best?
What are concrete classes?
Explain About a class access specifiers and method access specifiers.