Lecture overview -- Keyboard shortcut: 'u'  Previous page: The Composite design pattern  -- Keyboard shortcut: 'p'  Next page: An application of Music Elements -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 21 : 37
Object-oriented Programming in C#
Abstract classes, Interfaces, and Patterns
A Composite Example: Music Elements

A music element can either be a note, a pause, a sequential or a parallel collection of music elements

A music element has operations such as Duration, Transpose, and Linearize

The class diagram of Music Elements