write the Syntax for Function or Method Overriding?
Answer Posted / ashish gupta
class base
{
public virtual func()
{
}
}
class derive:base
{
//override the base funcion..signature n return value
// must be same
public override func()
{
}
}
| Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
Is c# good for web development?
What is the default value of date?
Is comparator a functional interface?
Explain the OOPS concept in C#?
What is hashtable in c# net with example?
Is php easier than c#?
Can I use exceptions in c#?
What is concrete method in c#?
Why do we use parameters in c#?
What are the advantages of properties in c#?
List down the differences between “dispose” and “finalize” methods in c#.
What is the difference between dynamic and var in c#?
Is c sharp free?
How do I know if executenonquery is successful c#?
How to move to a state-related codebase?