Packages in the UML are a logical grouping of related items such as classes. A Package has no direct mapping to VB so conventions are used instead.
A convention typically used is to include the package name in the name of contained elements. For instance, an Accountancy Package may contain a class called Account. Therefore, the class will have a name in VB of Accountancy_Account. This will ensure that classes with similar names in different packages will not collide. This activity is usually called Name Mangling.
Withdraw (in Funds)
The corresponding class names in VB would look like this:
Was this article helpful?