If we inherit a class do the private variables also get
inherited ?
Answer Posted / jigar
Yes, the variables are inherited but can not be accessed directly by the class interface.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How many constructors can a class have in c#?
Define c# and list the features.
Is c# good for web development?
How does foreach loop work in c#?
What do you mean by default constructor?
What are primitive types in c#?
Can you inherit multiple classes in c#?
What is the difference between internal and private in c#?
What are extender provider components?
Can we call server-side code (c# or vb.net code) from javascript?
What is method and function in c#?
What is the max value of int32 in c#?
What is an argument in c#?
How many bytes is an int?
What is datetime parse in c#?