What are virtual methods? How are they used?
Answers were Sorted based on User's Feedback
Answer / betty
virtual methods is applied in polymorphism. When you declare
a method as virtual, you can override the method in another
class.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / chinju
virtual methods are methods that do not really exists but
act as exist in some part of a program.Keyword virtual is used.
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / 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 |
What is polymorphism c# example?
What is signature c#?
Why we can't create the object of abstract class ?
15 Answers Assyst, CTS, HCL, IBM, L&T,
How do you create multiple inheritance in C#?
Is array a collection c#?
How to include c++ header files in c# components?
What is type checking in c#?
Enlist some of the properties of a thread class?
Why we use extension method in c#?
Can hashtable have duplicate keys?
How much time will it take to learn unity?
What is difference between comparable and comparator?