Previous Example-|-Next Example-|-Return to Chapter Listing
Example 13.2:
Creating an Object Hierarchy--Properties Can be Objects
This form displays all the properties for each object created. Object class 'order' has the object class 'product' as a property.
This page uses the following to create the objects:
Then we write the object properties like this:
Previous Example-|-Next Example-|-Return to Chapter Listing