Inheritance and Interfaces with Visual Basic .NET

“In this document, you learn about the differences between class inheritance and interface implementation. Inheritance supports the creation of hierarchical frameworks of increasingly specialized classes that share some code and also add their own customizations. Interfaces allow multiple unrelated classes to share predictable sets of methods and properties. Both interfaces and inheritance provide polymorphism, allowing generic procedures to work with many different kinds of objects. You also saw how object composition allows you to reuse and extend implementation code without inheritance, and how it can be combined with interfaces to support polymorphism. All these techniques enable you to create and revise complex software systems by helping you add new functionality, with minimal need to dig back into old working code.” Read the rest of the article at MSDN.

9 Comments

  1. 2002-02-18 8:49 pm
  2. 2002-02-18 9:06 pm
  3. 2002-02-18 10:22 pm
  4. 2002-02-18 10:57 pm
  5. 2002-02-18 11:56 pm
  6. 2002-02-19 12:25 am
  7. 2002-02-19 12:41 am
  8. 2002-02-19 1:56 am
  9. 2002-02-20 5:01 am