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 you allow a class to be inherited, but prevent the method from being over-ridden?
Explain About .NET Framework
What is hash c#?
Can an abstract class have a constructor c#?
What is dll hell, and how does .net solve it?
Why do we use namespace in c#?
What is AutoMapper in C#?
What is the difference between interface and abstract class in c#?
What is tryparse?
Which technology is best for desktop application?
What is clr in c#?
Can we override main method in c#?
Can a dictionary have duplicate keys c#?
what are the contents of an assembly ?
What is default parameter in c#?