Question: a) Explain what is meant by the term object model within the context of the initial analysis / design of an object oriented software system.
a) Explain what is meant by the term object model within the context of the initial analysis / design of an object oriented software system.
b) The term link refers to the run-time communication path between two objects. Associations allow us to design how those links will exist. Considering links and associations, answer the following questions:
(i) Explain the following terms.
Multiplicity Navigability
(ii) One of the simplest associations that can exist is a one-to-one uni-directional optional association. Using an example of your choice, draw a class diagram that would represent this association.
(iii) Provide a code example that would illustrate how the association in part (i) of this question would be implemented.
(iv) A more complex association is a one-to-many bi-directional optional association. Using an example of your choice, draw a class diagram that would represent this association.
(v) Provide a code example that would illustrate how the association in part (iii) of this question would be implemented (note: you do not need to consider referential integrity in your code example).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
