Logo
Search
Search
View menu

Runtime Polymorphism

Presentations | English

The word polymorphism means having many forms. In programming languages and type theory, polymorphism is the provision of a single interface to entities of different types or the use of a single symbol to represent multiple different types. The concept is borrowed from a principle in biology where an organism or species can have many different forms or stages. Polymorphism is considered as one of the important features of Object-Oriented Programming. Runtime polymorphism is achieved only through a pointer (or reference) of base class type. Declaration of a pointer reserves memory space. In this case, the compiler is not able to determine whether the superclass or subclass method will get called. Run-time polymorphism is achieved by method overriding. The presentation gives better understanding of the topic.

Picture of the product
Lumens

7.25

Lumens

PPTX (29 Slides)

Runtime Polymorphism

Presentations | English