What are virtual methods? How are they used?

Answer Posted / chandana

virtual methods are method definitions without
implementations specified. Such methods are a part of
abstract classes, which can not be instantiated. Any non-
abstract child class must provide implementation for these
classes.

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the lock statement in c#?

549


What is a generic class?

537


What are PE(Portable Executable)?

549


What is callback method in c#?

506


Where is c# compiler located?

508






Explain Direct CAST vs CType ?

566


Is clr a compiler?

501


What are the access modifiers in c#?

511


What is 8 bit signed integer?

492


What is difference between for and foreach in c#?

475


Are all methods virtual in c#?

543


What is an xsd file?

516


What are interfaces in c#?

541


What is console application with example?

506


What is for loop in c#?

518