Summary: |
Object Diagrams are very useful for helping to develop class diagrams as you can use the objects and their interactions to identify classes/associations. That is, one can use specific scenarios to develop class diagrams. Whereas class diagrams are used to document the structure of the classes, object diagrams are an instantiation of all (or part) of the class diagram. That is, a specific instance of the class with a set of appropriate attribute values. This is very useful when try to uncover the details of a class by using actual objects (instances). |