Are private class-level variables inherited?

Answers were Sorted based on User's Feedback



Are private class-level variables inherited?..

Answer / guest

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 ?    7 Yes 0 No

Are private class-level variables inherited?..

Answer / senthil kumar

Its not feasible to inherit the private class variable to
the successor classes.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Difference between imperative and interrogative code?

1 Answers   VelTech, Wipro,


When can a derived class override a base class member?

0 Answers  


Why do we need indexers in c#?

0 Answers  


If the original method is not static you can declare an override method to be static or not?

0 Answers   Siebel,


Does unity require coding?

0 Answers  


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


Why is hashset faster?

0 Answers  


Is c# code is unmanaged or managed code?

0 Answers  


What is the difference between arraylist and list in c#?

0 Answers  


Explain what are three test cases you should go through in unit testing?

0 Answers  


What is the difference between field and variable in c#?

0 Answers  


Can abstract class be sealed in c#?

0 Answers  


Categories