Computer Science Notes

Notes From CS Undergrad Courses FSU

This project is maintained by awa03

Identifying object class in architecture design

Design Model

Examples of design models

Unified modeling language

Class

Access level Meaning Explanation
+ Public The member is visible to all code in the application
- Private The member is only visible to code inside the class
# Protected The member is visible only to code inside the class and derived classes
- Package The member is visible only to code inside the same package

For more info on class protections and I/O read [[CPP_Review]]

Interface

Generalization

Association

Multiplicity of Associations

Indication Meaning
0..1 Zero or one
1 One
0..or * Zero or more
1..* One or more
n Only n (n > 1)
0..n Zero to n (n > 1)
1..n One to n (n > 1)

Aggregation

Dependency