O'Reilly logo

Object-Oriented Design with ABAP: A Practical Approach by James E. McDonough

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© James E. McDonough 2017

James E. McDonough, Object-Oriented Design with ABAP, 10.1007/978-1-4842-2838-8_6

6. Polymorphism

James E. McDonough

(1)Pennington, New Jersey, USA

The next stop on our journey to Objectropolis takes us from Inheritance to a place called Polymorphism.

Long before the advent of object-oriented programming, the word polymorphism applied predominately to the fields of biology and chemistry. It means many (poly) shapes (morph) quality (ism). Applied to computer programming, it is

  • “…the provision of a single interface to entities of different types.”1

It enables us to elicit different behaviors from the same class method by controlling some aspect of the call to the method. Support for polymorphism in object-oriented languages ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required