Compile-Time and Run-Time Polymorphism in Design Patterns

MOUNIKA MANNE, TARIK ELTAEIB

Abstract: Polymorphism plays an important role in design patterns programming and it is used in different aspects. In this paper different types of polymorphism is explained, and coding is given as an example for every polymorphism, function overloading and function overriding. The significance of compile-time polymorphism and run-time polymorphism is explained briefly. We also discuss about the relationship between operator overloading, function overloading and virtual function. We also present the design patterns with an example which helps us to understand the patterns more easily.

Keywords: Design patterns, Polymorphism, Compile-time, Run-time, Chain of Responsibility, Evolution, Applicability, Object Oriented Programming, and Model.

Title: Compile-Time and Run-Time Polymorphism in Design Patterns

Author: MOUNIKA MANNE, TARIK ELTAEIB

International Journal of Computer Science and Information Technology Research

ISSN 2348-1196 (print), ISSN 2348-120X (online)

Research Publish Journals

Vol. 3, Issue 2, April 2015 - June 2015

Citation
Share : Facebook Twitter Linked In

Citation
Compile-Time and Run-Time Polymorphism in Design Patterns by MOUNIKA MANNE, TARIK ELTAEIB