O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Class Begins

What Is a Class?

Think back to your childhood and picture yourself sitting in a sandbox, playing with molds and wet sand, and making all kinds of shapes. If sandboxes and wet sand didn’t appeal to you, perhaps you used molds and clay. You might find this hard to believe, but back then you actually used the concept of classes for the first time. Basically a class is just a mold. The mold determines what the objects that it creates will look like, but the mold itself is not one of the objects; it’s just a template—a class. When you want to create an object, you use the mold to instantiate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required