COIS 2240H Lecture Notes - Lecture 4: Sequence Diagram, Iterative Method, Procedural Programming

38 views2 pages

Document Summary

Iterative method use for loops to iterate. Uml class diagram: associations (relationship between one class and another, attributes (variables, composition is stronger then aggregation because it is independent. It is a static structure of what the system is. You cant inherit from multiple classes in java, because if both classes are similar, theres problems. Oop is simplay a model of writing programs. Constructor properties: must be the same name as a class, a constructor is not considered a member of a class. If you initialize an instance of an object in your code java will create a default constructor with no parameters. You do not have to do anything for that to happen. Uml sequence diagram: used to show event sequences in the order that they should occur. Lifelines are a core sequence diagram notation and they are typically placed at the top of the diagram.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents