Summary


This chapter described how to create derived classes from a base class. It also showed the advantages that you gain from using derived classes when they are appropriate. Finally, this chapter discussed the various access specifiers that you can use to fine-tune how the base and derived classes interact with each other.

Inheritance is a topic that seems a bit intimidating at first. If you feel that way, you should spend a little time reviewing this chapter and writing some sample derived classes of your own. The intimidation will soon dissolve, and you'll throw rocks at any language that doesn't support inheritance.



Visual Basic .NET. Primer Plus
Visual Basic .NET Primer Plus
ISBN: 0672324857
EAN: 2147483647
Year: 2003
Pages: 238
Authors: Jack Purdum

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net