What is Polymorphism? The word “polymorphism” is from the Greek words “poly”, which means “many”, and “morph”, which means “form”. So “polymorph” means “many forms”, and “polymorphism” means “the ability to take on many forms”. But enough academics. How Does Polymorphism Work? Polymorphism is a by-product of message-passing, or dynamic dispatching. One message may execute [...]
Encapsulation and Aggregation
February 22, 2011 By Leave a Comment
Each week I intend to discuss an object-oriented programming concept, often from an unusual perspective. This week I want to talk about encapsulation and aggregation. Subscribe to the Object Mechanics Guild Newsletter using the form to the right, to make sure you are notified when a new article appears, and to download the first book [...]