1. Computing

Patterns for Varying Class Behavior - Delphi OOP Chapter 24

From Zarko Gajic, About.com GuideApril 17, 2008

Follow me on:

in OOP Course :: The structure of a class is fixed when the class is compiled. However, there are occasions when an operation may need to take on different characteristics at run time as circumstances vary. In other words, it might be necessary that the method call MyObject.DoSomething behaves differently at different times.

This chapter discusses techniques that make variations in a method’s behaviour possible at run time, even after compilation, either through the use of inheritance structures or through delegation.

Read the full chapter Patterns for Varying Class Behavior

Related:

Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2013 About.com. All rights reserved.