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 is a collection class in c#?
Write a sample code to write the contents to text file in c#?
What do you mean by a windows process in regards to memory allocation?
Is constructor a static method?
What is difference between ienumerable and list?
How many constructors can a class have in c#?
Is string a primitive data type in c#?
Explain About Iunknown interface Queue
Explain the process of polymorphism with an example?
Is c# a technology?
What is gac? How to put assembly in gac?
List out two different types of errors in c#?
What is out int in c#?
What is strongly typed view?
Why is main static in c#?