Ask a developer, “What are the fundamental characteristics of object-oriented programming (OOP) ?” You will hear an immediate reply saying that classes (and objects), inheritance, abstraction, encapsulation, and polymorphism are the most important characteristics of OOP. This chapter focuses on polymorphism.
Typically object-oriented programmers pass through three important stages. In the first stage, they become familiar with non-object-oriented constructs/structures. In this stage, they use decision ...