The UML often refers to both operations and methods, which many VB developers may consider to be the same thing. The UML offers a distinction whereby operations define a service, and the method is the implementation of that operation. In VB terms, the distinction is very subtle as both concepts are implemented with the same language constructs, i.e. as functions or subroutines.
If we really want to make a distinction in VB, then we can say that the empty procedures defined in a VB interface are the operations and the methods are the actual implementations in each of the VB classes that implement the interface.
Was this article helpful?