O'Reilly logo

Programming Microsoft® Visual Basic® 6.0 by Francesco Balena

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

Object Hierarchies

So far, I have shown you how you can store complex pieces of logic in a class and reuse these pieces elsewhere in your application and in your future projects with very little effort. But what you have seen so far are individual classes that solve particular programming problems. The real power of objects is striking when you use them to create larger cooperative structures, also known as object hierarchies.

Relationships Among Objects

If you want to aggregate multiple objects in larger structures, you need a way to establish relationships among them.

One-to-one relationships

In the world of OOP, establishing a relationship between two objects is as simple as providing the former object with an object property that points to the ...

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