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 |
How does the lifecycle of Windows services differ from Standard EXE?
What is Wrapper class in dot net?
What is default constructor c#?
What do u mean by delegation of authority?
Explain the steps to create satellite assembly?
What is the difference between method and constructor in c#?
Where is c# compiler located?
Can a class be protected in c#?
what is the purpose of Interfaces?
How To Maintain Transaction In C#?
1 Answers Phoenix Technologies,
Can an exception be thrown from a catch block?
How to handle exceptions that are raised in a component?