What does the keyword virtual mean in the method definition?



What does the keyword virtual mean in the method definition?..

Answer / guest

The method can be over-ridden.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What does char mean in c#?

0 Answers  


What is escape character in c#?

0 Answers  


Trace the O/p for a program on inheritance and Polymorphism. 3 classes A,B,C A with two methods public virtual SomeMethodA public virtual SomemoreMethodA B:A overide virtual SomeMethodA C:B new Method SomeMethodA override SomeMoreMethodA main method { b new instance of B b.SomeMethodA b.SomeMoreMethodA b1 new instance of C b1.SomeMethodA b1.SomeMoreMethodA }

1 Answers  


What’s thread.sleep() in threading ?

0 Answers  


Why do we need abstraction in c#?

0 Answers  






Why we use get and set method in c#?

0 Answers  


What is difference between Method and function

3 Answers  


interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?

5 Answers  


Can you see a loop recorder?

0 Answers  


What is a nullreferenceexception?

0 Answers  


What?s class SortedList underneath?

1 Answers  


What is a class level variable in c#?

0 Answers  


Categories