Chapter 12 – Collection Types Example

In this example, each Student object stores its courses and grades as collections. The left side shows a flat, relational-style view for a few course and grade entries, while the right side summarizes the full collections by listing all courses, the passed courses, and the average grade.

Relational-style View (Flattened)

Object-Oriented View (Collection Types)