About Virtual functions and their use ?

Answer Posted / deepika

Second answer given here is correct to some extent.
If we use Virtual keywork next to a mehtod,it can be
overridden in derived classes,but it is not must to
override.

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value of date?

541


What is difference between out and ref in c#?

616


Define method overloading in c#?

666


How do you specify a custom attribute for the entire assembly (rather than for a class)?

611


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1954






What are data types in C#?

644


What is the meaning of 0 in c#?

630


User's session is explicitly killed by which method ?

597


What is the default modifier for class in c#?

597


Is int reference type c#?

594


What are the Types of assemblies that can be created in dotnet

747


Why is static constructor called first?

550


What is the difference between throw and throw ex?

545


In gridview in editmode if we want to display information in one combobox based on

1906


What is use of console?

568