Presentation is loading. Please wait.

Presentation is loading. Please wait.

Summary of the lecture We introduced the instantiation dependency –This is a binary relationship (a relationship between two classes). –It is directional,

Similar presentations


Presentation on theme: "Summary of the lecture We introduced the instantiation dependency –This is a binary relationship (a relationship between two classes). –It is directional,"— Presentation transcript:

1 Summary of the lecture We introduced the instantiation dependency –This is a binary relationship (a relationship between two classes). –It is directional, from a source class to a target class –Only the definition of the source class is affected by the presence of the relationship (this is how we define the source class in a relationship in general) –Example is on next two slides of an instantiation dependency between classes A (source) and B (target)

2 Instantiation Dependency in UML

3 class A – the source class package pkg; public class A { public A() { new B(); }

4 class B – the target class package pkg; public class B { public B() { }


Download ppt "Summary of the lecture We introduced the instantiation dependency –This is a binary relationship (a relationship between two classes). –It is directional,"

Similar presentations


Ads by Google