Are private class-level variables inherited?
Answers were Sorted based on User's Feedback
Answer / venu gopal
Yes, but they are not accessible, so looking at it you can
honestly say that they are not inherited. But they are.
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / duc nguyen
according to "http://www.velocityreviews.com/forums/t130343-question-about-inheritance-of-private-variables.html"
"According to the Java Language Specification, the definition of "inherited"
is such that the data member is available by subclasses. Using this
definition, private members are not inherited, HOWEVER, they are 'there',
that is, instances of the subclass contains the data that is held by the
private member - it is just not exposed by the superclass"
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / kirti
Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited.
| Is This Answer Correct ? | 0 Yes | 0 No |
wipro interview question on 28-Apr-10 1.what type of authentication used in web service, 2.what are type of multithreding ? 3.diff bet delegate and multithreading? 4.how to write update query trigger in stored procedure. 5. if you are so sharp then what happens when you click .net appln exe in system,who CLR get loaded. 6.how to use work flown in application. 7.what is main purpose of script manager. 8.how u handle cretical transaction. 9.how you syncronize the method from no of user, 10.how change name of shared assambly
Define multicast c# delegate?
In a site to turn off cookies for one page which method is followed?
Can you change the value of a variable while debugging a C# application?
What is the difference between interface and functional interface?
If u declare two interfaces withsame methodnmae .prototype how can u call the particular method from class?
Explain jagged arrays in c#?
How to use delegates with events?
Differentiate between sqlclient oledb and providers?
What is a destructor in c#?
What are the access allowed for compilation units(namespace),class and structs and what are its default access?
what is the meaning of Object lifetime in OOPS
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)