Visual Basic is an object-oriented language.
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.
VB.Net is an object-oriented language, but it is a language completely different from VB6.
Published by jak58
Latest update on August 3, 2009 at 11:29 AM by fahd_zboot.