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 |
To allow an element to be accessed using a unique key which .NET collection class is used ?
What does void mean in c#?
What is the difference while using directive vs using statement ?
what is the difference between convert.tostring() and tostring() functions ?
What is the reason behind the invention of c#?
What is predicate c#?
Can you override private virtual methods?
What is Fragmentation and its Types?
How to print labels in windows form in C# .net
What is the difference between firstordefault and singleordefault?
Does hashset allow duplicates c#?
Explain deadlock?
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)