Python_Institute
PCPP-32-101 · Question #53
PCPP-32-101 Question #53: Real Exam Question with Answer & Explanation
Sign in or unlock PCPP-32-101 to reveal the answer and full explanation for question #53. The question stem and answer options stay visible for context.
Question
If inheritance can result in MRO inconsistency, should you stop using inheritance altogether and make use of polymorphism instead?
Options
- AYes, because polymorphism is a faster way to achieve the same solution, and it is lighter due to
- BNo, because inheritance does not contradict polymorphism - there is always the possibility to gain
- CYes, because in more complex projects it is the only way to manage complex inheritance
- DNo, because polymorphism means complex relations between classes as it gives no control for
Unlock PCPP-32-101 to see the answer
You've previewed enough free PCPP-32-101 questions. Unlock PCPP-32-101 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.