← Quiz: Python OOP: all 15 questions
Quiz: Python OOP · Question 14 of 15
Which OOP pillar is shown when a child class gives its own version of a parent's method?
Which OOP pillar is shown when a child class gives its own version of a parent's method?
- A.Encapsulation
- B.Abstraction
- C.Inheritance only
- D.Polymorphism (through method overriding)
Answer & explanation
Correct answer: Polymorphism (through method overriding)
The same method name behaves differently depending on the object's class.
Can you get the rest right without peeking?
Take the timed Quiz: Python OOP quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →