About Virtual functions and their use ?
Answer Posted / vijay rana
when we override a metod in sub class,and we want to hide
the decelaration of the base class member then we used the
keyword virtual in superclass,
and keyword override in the subclass
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
Is c# and c same?
What is the difference between inheritance and abstract class?
What is datetime minvalue in c#?
Can you have parameters for static constructors?
What are the types of methods in c#?
What is uint64_t?
What is the solution if you need to manipulate sets of items?
Define an abstract class?
Is array reference type in c#?
What is deadly diamond problem?
Why should you override the tostring() method?
What are the fundamental principles of oo programming?
What is instantiating a class in c#?
What is a Jagged Array in C#?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records