Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


About Virtual functions and their use ?

Answers were Sorted based on User's Feedback



About Virtual functions and their use ?..

Answer / belson gnana pradeep

Virtual methods those can be overridden and replaced by sub classes.
When working with virtual methods keep in mind datatype of
an object is used to determine the implementation of
the method to call, rather than the type of the variable
that refers to an object.

In C#, a base class must provide the "virtual" modifier for
any virtual method, and derived classes must provide the
"override" modifier for any overriden method inherited from
a base class.

In VB.NET, a base class must provide the "Overridable"
modifier for any virtual method, and derived classes may
provide the optional "Overrides" modifier for any overriden
method inherited from a base class

Is This Answer Correct ?    4 Yes 0 No

About Virtual functions and their use ?..

Answer / mahesh babu ummaneni

virtual is nothing but it is a keyword ,when we diclare a method with virtual key word in base class thet method must be overroden in derived class

Is This Answer Correct ?    1 Yes 0 No

About Virtual functions and their use ?..

Answer / ssss

Virtual functions are used to override the derived class.If
u r using the virtual keyword u must override the the
derived class

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More C Sharp Interview Questions

Can list contain duplicates c#?

0 Answers  


what are the bugs are faced in a project

3 Answers   Accenture,


How encapsulation and abstraction defined/used in C#.NET.

8 Answers   Synechron,


Illustrate the differences between the system.array.copyto() and system.array.clone()?

0 Answers  


Is c# pass by value?

0 Answers  


How to find whether the application is run from inside ide or not?

0 Answers  


What is difference between an reference type and value type in C#?

0 Answers   B-Ways TecnoSoft,


How many constructors can a class have in c#?

0 Answers  


What is the difference between values and reference types?

0 Answers   Alcatel-Lucent,


Can we throw exception from catch block

6 Answers   Microsoft,


What is the difference between paramaterized constructor and copy constructor?

0 Answers   HCL,


Is unboxing an implicit conversion?

0 Answers  


Categories