Normally inside a Class, we have some private variables because of the need for encapsulation. But does encapsulation also apply to Module?
Should I write:
Module Module1
Private p As Person
Sub Main()
...
End Sub
End Module
Or I should write:
Module Module1
Dim p As Person
Sub Main()
...
End Sub
End Module
2007-06-03
23:41:59
·
3 answers
·
asked by
Hello World
1
in
Computers & Internet
➔ Programming & Design
Thank you very much for your help.
2007-06-03
23:42:28 ·
update #1