COIS 2240H Lecture Notes - Lecture 3: Init, Switch Statement

31 views2 pages

Document Summary

Overloaded methods: used to decrease the amount of code you have to write. Documentation: a large portion of the implementation process is going thorough documentation. Uml class diagrams: describe the static structure of the system. Multiplicity and association: an association is used to show how two classes are related to each other, symbols indicating multiplicity are shown at each end of the association. Labeling associations: each association can be labeled, to make explicit the nature of the association, a role name acts, in the context of the association, as an alternative name for the class which it is attached (cid:858) **it is possible for an association to connect a class to itself. It is possible to limit the direction of an association by adding an arrow at one end. Aggregation: aggregatio(cid:374) are spea(cid:272)il asso(cid:272)iatio(cid:374)s that represe(cid:374)t (cid:858)part-(cid:449)hole(cid:859) relatio(cid:374)ships, the (cid:858)(cid:449)hole(cid:859) side is ofte(cid:374) (cid:272)alled the asse(cid:373)(cid:271)ly or the aggregate, the symbol is a shorthand notation association named ispartof.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents