Q. Can Python achieve polymorphism without inheritance?

A
No
B
Yes, with duck typing
C
Only with interfaces
D
Only with abstract
Solution:

Duck typing enables polymorphism without inheritance by focusing on behavior.

Entri Contact Image

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