Closed cheahTJ closed 5 months ago
I think I have got it, the method m2 should belong to the Bar class as can be seen from the sequence diagram above, the 'control' is being passed to the
Bar` class. Is this understanding correct?
@cheahTJ
Yes I think the f:Foo
object is calling the m2
method of the b:Bar
object. So m2
belongs to Bar
The method m2 should belong to the Foo class right? Just making sure there is no lapse in my understanding.