About Virtual functions and their use ?

Answer Posted / anand

If the instance function declared with a virtual modifier
then the function is called virtual function.

the derived class can give the redefinition to the virtual
function its optional.

Is This Answer Correct ?    26 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can properties be private in c#?

671


What is the use of console readline () in c#?

646


Can multiple inheritance implemented in c# ?

702


What is the use of console?

667


Which constructor is called first in c#?

690


Is multiple inheritance possible in c#?

764


Define interface class in c#?

686


What is an enumerator c#?

703


What’s a strong name?

703


In a single .NET DLL how many classes it contains?

713


So what makes your code really object-oriented #?

689


Explain the difference between Response.Write () and Response.Output.Write ().

718


How to achieve polymorphism in c#?

734


What is object pool in .net?

711


What is boxing in c#?

770