Exercise: designing classes
Design classes to represent the following “things” in the given enterprises. For each one, describe the class in English, then draw the UML class diagram.
- A student at a university.
- A faculty member at a university.
- A work of art that is displayed in a gallery or museum.
- An automobile that is registered with the Motor Vehicle Department.
- A pizza that is on the menu at a restaurant.
The solution to this exercise will be discussed in class or posted online at a later date.