Understanding Polymorphism

  • Matthew Tagliaferri

Abstract

The previous chapters covered two of the three features of object-oriented programming languages. In review, encapsulation is the hiding of functionality (implementation details) inside classes. This allows the developer to separate distinct parts of code so those parts can’t interact with each other at all (or can interact with each other only in ways the developer can control via the public interface of the class). By achieving this separation, the developer assures that changes to one part of the code won’t produce undesired side effects in another part.

Keywords

Assure Bors Encapsulation Dock 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Matther Tagliaferri 2003

Authors and Affiliations

  • Matthew Tagliaferri
    • 1
  1. 1.Cleveland Indians baseball organizationUSA

Personalised recommendations