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 types of object can I throw as exceptions?

613


What are the different types of classes?

554


Explain inheritance in c#?

620


What are functions in c#?

575


Explain About a class access specifiers and method access specifiers.

639






Major difference between Basic httpbinding and WShttpbinding?

670


What the different phase/steps of acquiring a proxy object in webservice?

554


What are c# i/o classes? What are the commonly used i/o classes?

592


What is appdomain in c#?

573


Explain briefly the difference between value type and reference type?

643


Why singleton pattern is used in c#?

601


Is versioning applicable to private assemblies?

660


What is verbatim literal in c#?

570


What are primitive data types in c#?

600


What is the difference between a function and a method?

574