User Tools

Site Tools


at:tutorial:objects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
at:tutorial:objects [2007/06/29 08:43] jorgeat:tutorial:objects [2007/06/29 10:22] jorge
Line 27: Line 27:
 </note> </note>
  
-In the example above, the state of the ''point'' object is composed of ''x'' and ''y'' fields and its behaviour corresponds to the ''init'' and ''sumOfSquares'' methods.+In the example above, the state of the ''point'' object is composed of ''x'' and ''y'' fields while its behaviour corresponds to the ''init'' and ''sumOfSquares'' methods.
  
 ===== Sending messages ===== ===== Sending messages =====
Line 52: Line 52:
  
 ===== Delegation and Dynamic Inheritance ===== ===== Delegation and Dynamic Inheritance =====
 +AmbientTalk features object inheritance or delegation. By means of delegation, an object can reuse and extend the defintion of another. We distinguish two different delegation relationships: **is-a** and **share-a**.
 +
  
 ===== Delegation and cloning ===== ===== Delegation and cloning =====
at/tutorial/objects.txt · Last modified: 2013/05/17 20:23 by tvcutsem