Image description: Account class

This image shows a block diagram of a class. The image has one one block divided in two parts by a horizontal line.

The top part of the image shows the class name Account and two instance data items, AccountNumber and AccountBalance, like this:


Account
(AccountNumber)
(AccountBalance)

The bottom part lists five instance methods of the class, like this:


1:init
2:getBalance
3:credit
4:debit
5:print

This block style is often used to diagram object-oriented classes.

End of image description.