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 the difference between proc. Sent by val and by sub?
Differentiate between object pooling and connection pooling in c#?
What is the difference between interface and abstract class ?
What is transparent caching with aop ?
What is string programming language?
What is default constructor in c#?
Define an abstract class?
What is the minimum size (in bytes) of string data type in c#? Give its compatible data type in .NET Framework.
Can abstract class be sealed?
What does string format do?
What is the use of static in c#?
Can we override interface method?