views:

299

answers:

3

I searched the web, but I find a bunch of very different diagrams. Most of them don't even look like object diagrams. They have no object's value. I want to know how I must draw an object diagram in such a way, that my prof won't tell me it's absolutely wrong. Any good tutorial link is highly appreciated!

A: 

You're probably thinking of a class diagram, that shows the relationship between classes (not object instances), right?

UML (Unified Modeling Language) is the standard way of doing this.

tpdi
+5  A: 
Izabela
Thanks! That's exactly what I was looking for!
Thanks
google.com type "object diagram" hit enter and click "Images" ftw! Sometimes it's we are like concierge for google rejects
Chad Grant
+1  A: 

Object diagrams tend to have limited use (they're usually working for other diagrams). I suspect you want a class or communication diagram. A class diagram will have fields but no values, while a communication diagram includes messages.

This is an object diagram. There is a more detailed description as part of this tutorial.

Read this page for the different uses of class diagrams, and this for a tutorial.

Here are two examples of communication diagrams.

Mark