What are virtual methods? How are they used?

Answers were Sorted based on User's Feedback



What are virtual methods? How are they used?..

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

What are virtual methods? How are they used?..

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

What are virtual methods? How are they used?..

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

Post New Answer

More C Sharp Interview Questions

explain the features of static/shared classes.

0 Answers  


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

0 Answers  


Is multilevel inheritance possible in c#?

0 Answers  


What is the use of delegate?

0 Answers  


What is the default value of string in c#?

0 Answers  






How do you debug an ASP.NET Web application?

1 Answers  


Hoe can i connect the table into the c# application?

2 Answers  


What is difference between abstract class and interface in c#?

0 Answers  


What is dll hell, and how does .net solve it?

0 Answers  


Why would you use untrusted verificaion?

1 Answers  


How?s method overriding different from overloading?

3 Answers  


List down the fundamental oop concepts?

0 Answers  


Categories