![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Once a class is defined, you can create new instances
of the class by sending a new
message to the class. For example,
once the Vegetable
class is defined, you can create new
Vegetable
instances as follows:
Workspace
Vegetable new
Note that, although most messages are sent to instance objects,
new
messages are sent to class objects.