collaboration-diagram

What is different between collaboraion diagram and comunication diagram in UML?

What is different between collaboration diagram and communication diagram in UML? Are they equal? ...

How to signal object instantiation in a Collaboration/Communication Diagram?

I'd like to know how to translate the following line of code to a Collaboration Diagram: Food food = new Food("abc", 123); I know that I can call an Food's method using the following notation: MyStaticMethod() ----------------------> -------- | | | Food | |...

Collaboration Diagrams: how to represent setting a variable's and attribute's value to a specified value

Let's assume I have a class called MyClass with an attribute called MyAttribute and a method called MyMethod(). Inside that method I'd like to have a variable called MyVariable. I'd like to set the value of MyVariable to "MyVariable" and MyAttribute to "MyAttribute" inside the call to MyMethod(). How can I do this in a Collaboration Diag...