If I want to override a method 1 of class A and in class b
then how do you declare ?
Answer Posted / ashwini c havan
we can override the parent class method under its child
class only when the parent class declared the method as
virtual and abstract..............
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can a sealed class be used as a base class?
Can you create sealed abstract class in c#?
How to use exception handling in stored procedure?
How can I develop an application that automatically updates itself from the web?
Why is hashset faster?
Can you pass parameters to destructors?
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
What is class method?
what is an event? Define delegate?
Explain the process of abstraction with an example?
Why is xml called extensible?
Why cannot you specify the accessibility modifier for methods inside the interface?
What is a boolean c#?
What is managed code?
What is string interpolation in c#?