polymorphism
One call written once behaving differently for different kinds of object.
Code written against a supertype works with any subtype object, the body chosen by dynamic dispatch.
See also
One call written once behaving differently for different kinds of object.
Code written against a supertype works with any subtype object, the body chosen by dynamic dispatch.
See also