Which type of function can a derived class override?

Which type of function can a derived class override?

Which type of function can a derived class override?

A.
a non-virtual public member function

B.
a private virtual function

C.
a protected virtual member function

D.
a static function

Explanation:
You can override virtual functions defined in a base class from the Visual Studio.
The override modifier is required to extend or modify the abstract or virtual implementation of
an inherited method, property, indexer, or event.



Leave a Reply 0

Your email address will not be published. Required fields are marked *