InterviewSolution
Saved Bookmarks
| 1. |
Pick out the correct statement about the override.(a) Overriding refers to a derived class function that has the same name and signature as a base class virtual function(b) Overriding has different names(c) Overriding refers to a derived class(d) Overriding has different names & it refers to a derived classThe question was asked in examination.The question is from Design of Class Hierarchies in division Derived Classes, Templates & Exception Handling in C++ of C++ |
|
Answer» The CORRECT answer is (a) OVERRIDING REFERS to a derived class function that has the same name and SIGNATURE as a base class virtual function |
|