Skip to main content
Erschienen in:
Buchtitelbild

2001 | OriginalPaper | Buchkapitel

Introduction

verfasst von : Karel Driesen

Erschienen in: Efficient Polymorphic Calls

Verlag: Springer US

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Object-oriented code looks different from procedural code. The main difference is the increased frequency of polymorphic calls. A polymorphic call looks like a procedural call, but where a procedural call has only one possible target subroutine, a polymorphic call can result in the execution of one of several different subroutines. The choice depends on the run time type of the first argument (the receiver). Polymorphic calls enable the construction of clean, modular code design. They allow the programmer to invoke operations on an object without knowing its exact type in advance.

Metadaten
Titel
Introduction
verfasst von
Karel Driesen
Copyright-Jahr
2001
Verlag
Springer US
DOI
https://doi.org/10.1007/978-1-4615-1681-1_1

Neuer Inhalt