4.1. Introduction

We introduced the basic terminology and concepts of object-oriented programming in Section 1.9. In Chapter 3, you began to use those concepts to create simple applications that displayed messages to the user, obtained information from the user, performed calculations and made decisions. One common feature of every application in Chapter 3 was that all the statements that performed tasks were located in method Main, in a module. Many of the applications you develop in this book will consist of one or more classes, each containing one or more methods. These classes will then be used in the module that contains Main. Industry applications can contain hundreds, or even thousands, of classes. In this chapter, we present a simple ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.