What does virtual keyword mean ?

Answers were Sorted based on User's Feedback



What does virtual keyword mean ?..

Answer / nitin kumar tomar

Virtual mean that the function and property can be
overriden in drive class

Is This Answer Correct ?    35 Yes 2 No

What does virtual keyword mean ?..

Answer / ganesh

use in polymorphism

Is This Answer Correct ?    9 Yes 1 No

What does virtual keyword mean ?..

Answer / a.venkatakrishna

The function preceeded by VIRTUAL keyword can be overriden
in its derived classes...BUT it is not mandatory to
override...

Is This Answer Correct ?    2 Yes 0 No

What does virtual keyword mean ?..

Answer / bapu

derived class can modify the logic for function or property
which declared as virtual.....

Is This Answer Correct ?    1 Yes 1 No

What does virtual keyword mean ?..

Answer / sanjeet kumar rai

The keyword virtual is applied to a method declaration to
indicate that the method may be overridden in a subclass. If
the virtual keyword is not applied and a method is defined
in a subclass with the same signature as the one in the
super class, the method in the super class is hidden by the
subclass implementation.

Is This Answer Correct ?    3 Yes 3 No

What does virtual keyword mean ?..

Answer / yoyo

derived class

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More C Sharp Interview Questions

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

0 Answers  


STATIC METHOD CAN BE OVERLOADING AND OVERIDNG? IS POSSIBLE IN iN c# .NET AND WHAT IS THE REASON??

3 Answers   IBM, TCS,


What is default value of bool in c#?

0 Answers  


Please explain value types and reference types used in c#?

0 Answers  


Why do we still see so much non-oo code written in c# today?

0 Answers  






Is dictionary a collection?

0 Answers  


What are annotations in c#?

0 Answers  


Overloaded constructor will call default constructor internally?

0 Answers  


How we can create an array with non-default values?

0 Answers  


Are string objects mutable or immutable?

0 Answers  


What does Dispose method do with the connection object?

2 Answers  


Is clr a compiler?

0 Answers  


Categories