Question

Which OOP concept directly influences control flow by allowing different implementations of a method to be called based on the type of the object at runtime? 

A Encapsulation
B Inheritance
C Abstraction
D Polymorphism
Practice Next

Hey! Ask a query