A Thumbnail Sketch of OOP
Until this version, VB was not object oriented in a strictly academic sense. While it is true that VB 6 uses objects and can create classes, they are not true classes in the OOP paradigm. They are really COM objects, and there’s an important difference. For a language to be truly object oriented, it must support the following capabilities:
Encapsulation— Data in a class must be able to be fully hidden from the rest of the program. The language must provide a mechanism for controlling this access. Moreover, the class must be self-sufficient, with no external dependencies other than its immediate parent.
Inheritance— Classes derived from other classes must have a mechanism for inheriting the functionality and data of ...
Get ADO.NET Programming in Visual Basic™ .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.