Visual Basic .NET is usually described as an object-oriented programming language. This encourages us to think about our programming in terms of objects. During object-oriented analysis and design, then, we identify the most important objects in our system, and consider how they relate to each other. But during object-oriented programming, we don’t write ‘objects’; we define classes to represent the behavior and attributes of objects. In fact, in Visual Basic .NET, classes are but one of a whole range of mechanisms we can use to define the behavior of the objects that will exist in our program at run time. When we code in Visual Basic .NET, what we write are in fact types. Types represent a combination of behavior and data storage requirements. When our program runs, it creates instances of types (which allocates the data storage required), and makes the behavior of the types available to us.
KeywordsEter Sine Encapsulation ChOl Gold Silver
Unable to display preview. Download preview PDF.