Question OOP-INH-0075
HardWhich call refers to the parent's version of an overridden method in C++?
- A.
parent->method()
- B.
Base::method()
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Inheritance question
Which call refers to the parent's version of an overridden method in C++?
parent->method()
Base::method()
Sign up free to see the answer and a step-by-step explanation.
this->Base()
super.method()