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 is check/uncheck?

0 Answers  


What is boolean method?

0 Answers  


What are the different types of constructors?

0 Answers  


What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?

0 Answers  


Could you explain the difference between func vs action vs predicate?

0 Answers  






How do you inherit a class into other class in c#?

0 Answers  


what is the difference between finally and dispose methods?

3 Answers   HCL, Patni,


What is func c#?

0 Answers  


Is python easier than c#?

0 Answers  


Why use “using” in c#?

0 Answers  


How many types of constructor are there in c#?

0 Answers  


Is unboxing an implicit conversion?

0 Answers  


Categories