MCQOPTIONS
Saved Bookmarks
| 1. |
Which is the correct condition for function overriding? |
| A. | The declaration must not be same in base and derived class |
| B. | The declaration must be exactly the same in base and derived class |
| C. | The declaration should have at least 1 same argument in declaration of base and derived class |
| D. | The declaration should have at least 1 different argument in declaration of base and derived class |
| Answer» C. The declaration should have at least 1 same argument in declaration of base and derived class | |