The Operation and Method Distinction

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?

0 0
365 Days Of Motivation

365 Days Of Motivation

Stop Wasting Time And Learn How To Stay Motivated. Finally! Discover How To Stop Your Mind From Wandering, And Upgrade Your Motivation. You Can Hack Your Motivation Levels, Allowing You To Take Your Life To The Next Level.

Get My Free Ebook

Post a comment