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
What's the difference between a method and a procedure?
What is difference between iqueryable and ienumerable in c#?
Is cli same as the clr?
What is the difference between inheritance and abstract class?
Is there any sample c# code for simple threading?
Can a struct inherit from an interface in c#?
how can one use hcl and c sharp together?
Difference between directcast and ctype.
What are the advantages of using delegates in c#?
Explain About .NET Remoting and types of remoting
What does dbml stand for?
What is icollection in c#?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
How can you use abstract class and interface?
What does it mean to override a method?