Question:What does the 'override' keyword do in C#? 

A It creates a new method with the same name in a derived class. 

B It replaces a method in the base class with a new implementation. 

C It prevents a method from being overridden in derived classes. 

D It indicates a method is static. 

+ Answer
+ Report
Total Preview: 16

Copyright © 2024. Powered by Intellect Software Ltd