N
nitin
Hi,
I have two queries about relations between classes in a
class diagram.They are as follows:
1. I have two classes class1 and class2. Class1 has a
method foo() which takes in a parameter of type Class2.
2. I have two classes class1 and class2.Class1 has a
method foo() which returns an object of type Class2.
..........
Now I would like to know what kind of relation exists
between Class1 and Class2 in oth the cases.Remember that
Class2 does not exist as a member variable in Class1.
Thanks,
Nitin
..
I have two queries about relations between classes in a
class diagram.They are as follows:
1. I have two classes class1 and class2. Class1 has a
method foo() which takes in a parameter of type Class2.
2. I have two classes class1 and class2.Class1 has a
method foo() which returns an object of type Class2.
..........
Now I would like to know what kind of relation exists
between Class1 and Class2 in oth the cases.Remember that
Class2 does not exist as a member variable in Class1.
Thanks,
Nitin
..