What is the difference between virtual and override keywords?

AnswerBot
2y
Virtual keyword is used to declare a method in a base class that can be overridden in a derived class. Override keyword is used in the derived class to override the implementation of the virtual metho...read more
Help your peers!
Add answer anonymously...
NCR Corporation Software Engineer II interview questions & answers
A Software Engineer II was asked Q. What is the difference between a stored procedure and a function?
A Software Engineer II was asked Q. Does C# support multiple inheritance?
A Software Engineer II was asked Q. What are SOLID principles, and can you explain them?
Popular interview questions of Software Engineer II
A Software Engineer II was asked Q1. Does C# support multiple inheritance?
A Software Engineer II was asked Q2. What are SOLID principles, and can you explain them?
A Software Engineer II was asked Q3. Explain dependency injection.
>
NCR Corporation Software Engineer II Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

