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 to handle errors in sqlserver
What does xpath return?
How do you implement Inheritance in dot net ?
What's new in c#?
When should I throw an exception?
Why can't we use a static class instead of singleton?
What is difference between ilist and list in c#?
What is the name of the implicit input parameter of a set accessor for any property?
Are c# strings null terminated?
What are strong name assemblies?
What is collection class c#?
What are Uses of CLR
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)