You use this function to:
● Define classes or interfaces by assigning components to them.
● Implement the methods of classes.
● Add interfaces to classes and implement their methods in the class.
● Change the existing definition and implementation of classes.
● Define local data types within classes.
The object types (classes or interfaces) for which you want to create components already exist.
You can assign components by defining:
● Methods
● Events
● Local Definitions and Implementations
Note that all class components except interfaces belong to the same namespace. Consequently, they must all have different names.
You can perform the following operations with methods:
● Define method parameters
● Define method exceptions
● Implement methods
You can perform the following operations with interfaces:
● Assign interfaces to classes
● Implement interface methods in classes