UML Home
Use Case
Class
Object
Sequence
State
Communication
Activity
Class Diagrams
A Class diagram shows all the different classes used in our OOP project.
For each class it shows the different attributes/properties and the methods. It also shows inheritance when a subclass inherits from a superclass. In this case the subclass inherits all the properties and methods of the supperclass. There is no need to add these properties and methods in the subclass as they already appear in the superclass.
- Download as PDF -
Your Task
Task1: Create a class diagram for an auction website. (e.g. eBay)
Task 2: Create a class diagram for a social network. (e.g. Facebook)
Task 2: Create a class diagram for a game of Pacman.