Messages
The objects making up a system communicate by
sending messages to each other. For example, a system might send a closeAccount()
message to a SavingsAccount object of a bank computer system for a particular client’s bank account.
An object receiving a valid
message will respond by performing some operation(s): i.e. the object will exhibit some
behaviour. For example, after receiving the closeAccount() message a SavingsAccount object might send a message to request a cheque be sent to the
client for the balance, set its balance to zero and then disable any more transactions to
be processed for the account.

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg
|