Object Diagram Java. An object diagram describes the instance of a class. In a class diagram variables which refer to other objects are not written with the rest of the class attributes but are shown as connections between the classes.
Object diagrams represent an instance of a class diagram. The basic concepts are similar for class diagrams and object diagrams. The class diagram provides an abstract view which comprises of classes and their relationships whereas the object diagram represents an instance at a particular point of time.
A class diagram is used to visualize describe document various different aspects of the system and also construct executable software code.
It visualizes the particular functionality of a system. Purpose of object diagram. Objects are instances of a class. They re made from objects represented by rectangles linked together with lines.