Abstract Classes and Virtual Procedures

If you’re using Microsoft Word to edit your documents, you already know how document templates work. That means you also pretty much know what abstract classes are. Document templates in Word are used to define formatting rules for documents.

When I’m writing a normal paragraph for this book, the document template I’m using specifies that the font is “Segoe” and the font size is 9.5 points. A document created based on a document template is formatted according to the template’s properties. Using a template is the only convenient way to ensure that all chapters in a book are formatted consistently.

Abstract classes work similarly; they provide prototypes of procedures, but these procedures serve exclusively ...

Get Microsoft® Visual Basic® 2010 Developer’s Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.