Myth - Visual Basic is an object-oriented language

February 2017




Myth


Visual Basic is an object-oriented language.

Reality


FALSE.

Explanations


This myth is popular, but unfortunately its false: VB6 is not an object-oriented language.

Consider the basic principles of object orientation:
  • Encapsulation: gathering data structure (attributes) and processes (methods) in a unit whose implementation is hidden. It is impossible in VB6/.
  • Inheritance. It is impossible in VB6 to create an object that derives from another.
  • Polymorphism: It is not possible in VB6, overloading methods and operators. And type "variant" is not a response to the polymorphism of inheritance.


Note that: VB.Net is an object-oriented language, but it is a language completely different from VB6.

Related


Published by jak58. Latest update on August 3, 2009 at 11:29 AM by fahd_zboot.
This document, titled "Myth - Visual Basic is an object-oriented language," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).