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 |
Does the system.exception class have any cool features?
What is the advantage of constructor?
What is the use of parse in c#?
What is the difference between Java and .NET garbage collectors?
What is attribute and reflection in c#?
Does c# provide copy constructor?
Practcle scenario where I can use abstract class and where I can use Interface
1 Answers Jeevan Technologies,
what is uniary operators and binary operators and what is the difference
What is xml comments in c#?
What is an abstract class c#?
What is the difference between User controls and Custom Controls?
Is int an object in c#?