Chapter 12 – Composite (Nested) Types Example

In this example, each Student object contains two nested components: an address part and a contact part. The left side shows a flat, relational-style view, while the right side highlights the composite structure used inside the object.

Relational-style View

Object-Oriented View (Composite Types)