Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition
by Paul J. Deitel - Deitel & Associates, Inc., Harvey M. Deitel - Deitel & Associates, Inc.
7.1. Introduction
Experience has shown that the best way to develop and maintain a large program is to construct it from small, simple pieces. This technique is called divide and conquer. We introduced methods in Chapter 3. In this chapter, we study methods in greater depth. We emphasize how to declare and use methods to facilitate the design, implementation, operation and maintenance of large programs.
You’ll see that it is possible for certain methods, called Shared methods, to be called without the need for an object of the class to exist. You’ll declare a method with more than one parameter. You’ll see how Visual Basic keeps track of which method is currently executing, how local variables of methods are maintained in memory and how a method ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access