(i) the object type specification and (ii) the object type body. |
Methods are procedures or functions that are members of an object type. |
Creating an Object Type Body: Syntax |
CREATE TYPE BODY
command.
The specification of each method is duplicated in the object type body, along with the actual code that will be executed when the method is called.