PrepAway - Latest Free Exam Questions & Answers

Which type of function can a derived class override?

Which type of function can a derived class override?

PrepAway - Latest Free Exam Questions & Answers

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.

2 Comments on “Which type of function can a derived class override?


Leave a Reply