If we inherit a class do the private variables also get
inherited ?
Answer Posted / ganni
yes they are inherited, but cannot be accessible. for
that we need to use properties concept.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
How do I start a program in c#?
What are the various components in crystal reports?
Compare and contrast between the System.Array.CopyTo() and Clone()?
What is strong name assembly?
How can I check the type of an object at runtime?
what optimizations does the c# compiler perform when you use the /optimize+ compiler option?
What is the difference between read and readline in c#?
Write a short note on interface?
From which base class do all Web Forms inherit from?
Explain the term inheritance in C#.
What is a jagged array?
What does out mean in c#?
List the difference between the virtual method and the abstract method?
What issues can be faced while delivering code?
What are async and await?