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 the difference between proc. Sent by val and by sub?
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
What's the difference between a method and a procedure?
What is an icollection in c#?
How do I start a program in c#?
What does string format do?
What does a constructor do c#?
What are c# types?
What is desktop example?
What are the benefits of using the aggregate method in linq?
What is the purpose of a namespace?
What is xml serialization in c#?
What is the purpose of escape sequence?
Can a constructor have a return type?
What is a cshtml file?