This site is to serve as my note-book and to effectively communicate with my students and collaborators. Every now and then, a blog may be of interest to other researchers or teachers. Views in this blog are my own. All rights of research results and findings on this blog are reserved. See also http://youtube.com/c/hongqin @hongqin
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?
Labels:
CPSC2100
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment