Understanding Polymorphism

  • Matthew Tagliaferri


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.


Cellular Automaton Vote Game Cell Class Event Handler Party Affiliation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


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