C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
Can you declare an override method to be static if the original method is not static?
Answer:
No. The signature of the virtual method must remain the same. (Note: Only the keyword virtual is changed to keyword override)
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF
Previous Question | Next Question |
How is method overriding different from method overloading? | What are the different ways a method can be overloaded? |