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 are scriptable objects?
What is use of hashtable in c#?
What is difference between mutable and immutable in c#?
What are the keywords used to pass parameters to the base class and how do I invoke other constructors.
How to sort an int array in c#?
Is c# a technology?
How can you clean up objects holding resources from within the code?
What do you know about WM_CHAR message?
How do I make a dll in c#?
What is array and types of array in c#?
In C#, explain the difference between overloading and overriding.
What is datareader c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)