C# (Sharp) Programming Language Question:

Download Job Interview Questions and Answers PDF

What does the keyword “virtual” declare for a method or property?

C# (Sharp) Programming Language Interview Question
C# (Sharp) Programming Language Interview Question

Answer:

The method or property can be overridden.

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
What is the implicit name of the parameter that gets passed into the set method/property of a class?How is method overriding different from method overloading?