Answer Posted / swapna
No, we cannot access private methods in inherited classes.
They have to be protected in the base class to allow any
sort of access.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are expressions c#?
Can derived classes have greater accessibility than their base types?
Which technology is best for desktop application?
What is inheritance c#?
What do you mean by for each loop?
Can we use "this" command within a static method?
Is c# static or dynamic?
In .NET how can you solve the DLL Hell problem?
Why delegates are required?
From which base class do all Web Forms inherit from?
What is the difference between Singleton design pattern and Factory design pattern?
What is the difference between constants and read-only?
What does async mean in c#?
Explain the difference between private and shared assembly?
Explain publishers and subscribers in events.