destroy/1
destroy(
+Obj)
First, sends a destroy
message to Obj, if such a message is defined for
its class. A destroy
message takes no argument. Unlike create/2
, it
is possible to destroy instances of a class even if it defines no
destroy
methods. Finally, disposes of Obj.
instantiation_error
type_error
create/2