Chapter 7. Class Fundamentals

In your everyday life, you perform all sorts of activities using objects. You use a fork to eat; you drive your car to reach your office; and you spend money to buy things. Each of these objects has its own characteristics. There are hundreds of car models; they have different colors, different engines, and different accessories, but they all are cars. Object-oriented programming (OOP) is similar to this view of life. In fact, OOP relies on objects; for example, you can have an object that enables working on files or another object that ...

Get Visual Basic® 2012 Unleashed, Second Edition now with the O’Reilly learning platform.

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