Q. What is the output if Child overrides Parent’s method with pass?

A
Parent method
B
Child method
C
Nothing
D
Error
Solution:

Overriding with pass does nothing, so no output unless called explicitly.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!