Abstract
As part of a more general effort on the design of a combined modeling and programming language, support for modeling and programming with state machines has been investigated. While earlier approaches have represented composite states/state hierarchies by means of class inheritance hierarchies between state classes, it is demonstrated that it is more powerful to support composite states by means of delegation. The inheritance mechanism may then be used to represent real specialization of state machines.