What does virtual keyword mean ?
Answers were Sorted based on User's Feedback
Answer / nitin kumar tomar
Virtual mean that the function and property can be
overriden in drive class
Is This Answer Correct ? | 35 Yes | 2 No |
Answer / a.venkatakrishna
The function preceeded by VIRTUAL keyword can be overriden
in its derived classes...BUT it is not mandatory to
override...
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bapu
derived class can modify the logic for function or property
which declared as virtual.....
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sanjeet kumar rai
The keyword virtual is applied to a method declaration to
indicate that the method may be overridden in a subclass. If
the virtual keyword is not applied and a method is defined
in a subclass with the same signature as the one in the
super class, the method in the super class is hidden by the
subclass implementation.
Is This Answer Correct ? | 3 Yes | 3 No |
Differentiate between object pooling and connection pooling in c#?
How is lazy loading achieved?
Contrast between an interface and abstract class?
Explain the difference between abstract class and interface.
What is the difference between add and addrange in c#?
what are implementation inheritance and interface inheritance?
How you will create satellite assemblies?
Is null or empty in c#?
Who benefits from ajax?
What is a constructor in c#?
What language is c# similar to?
What is the ouput of the following program?