Thursday, April 2, 2020

CPSC2100 UML,


Class,
attributes, fields, variables
methods, behaviors

private
public

Inheritance (cat is animal)
Association (people eat apple)
Aggregation (river has fishes); composition (human has eyes).

multiplicity


Questions on UML

* How do we represent classes in UML?
* How do we represent attributes in UML?
* How do we represent functions (operations) of a class in UML?
* How do we represent class inheritance in UML?
* How do we represent aggregation in UML?
* How do we represent 1-to-many aggregation in UML?
* How to tell inheritance from aggregation in Python classes? What are the key different in Python?


No comments:

Post a Comment