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

When do we generally use destructors to release resources?

0 Answers  


Is c and c# the same?

0 Answers  


How do you prevent a class from being inherited in c#?

0 Answers  


How do I do implement a assert?

0 Answers  


What is transparent caching with aop ?

0 Answers  






Which is executed if an exception has not occurred?

0 Answers   Siebel,


Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE

0 Answers   Symphony,


class Program { void add() { int x=10, y=20; fun(); Console.WriteLine("{0}", sum); } void fun() { int sum; sum = x + y; } static void Main(string[] args) { Program f =new Program(); f.add(); } } Debug above program.....

3 Answers   HCL,


Why References are stored on heap and variables on stack?

0 Answers   MCN Solutions,


Why can?t you specify the accessibility modifier for methods inside the interface?

2 Answers  


How do you restrict the type which can be used in custom generic?

1 Answers   IBM,


What is difference between array and list?

0 Answers  


Categories