Object Orientation

To be considered a true object-oriented language, a language should support the following features:

• Encapsulation

• Inheritance

• Polymorphism

All these features were available in VBA except inheritance. This is one reason many people never considered VBA a true object-oriented programming language. This isn't to say, however, that Visual Basic 2005 is merely VBA plus inheritance. Many more capabilities and enhancements have been made to Visual Basic 2005.

In this section we look at these encapsulation, inheritance, and polymorphism requirements of object-oriented programming.

0 0

Post a comment