If we inherit a class do the private variables also get
inherited ?
Answers were Sorted based on User's Feedback
Answer / rathika
It will be inherited but cannot be accessible.
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / kishore.a
Private variables are not inherited. Access specifier
Private is mainly mean for the inheritance concept so that
derived classes cannot inherit the private members of base
class..
Is This Answer Correct ? | 3 Yes | 4 No |
What is a c sharp?
what is the meaning of Object lifetime in OOPS
What is static noise?
What r collections c sharp?
Can we inherit a private class in chsarp? how? explain(with code) ?
hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?
What is COM Interoperability?
Is c# code is managed or unmanaged code?
What is parseexact c#?
What are the advantages of using partial classes?
Can you specify an access modifier for an enumeration?
What is the difference between field and variable in c#?