---
description: In this Object Diagram tutorial, we will learn What is Object Diagram in UML with Example, Purpose, Applications, and How to Draw Object Diagram.
title: What is Object Diagram in UML? Learn with Example
image: https://www.guru99.com/images/uml-object-diagram-2.png
---

[Skip to content](#main)

**⚡ Smart Summary**

Object Diagram in UML captures a static snapshot of a system, showing specific object instances, their attribute values, and links at one moment. This resource explains object diagram notation, drawing steps, purpose, and how it differs from a class diagram.

- 📸 **Snapshot View:** An object diagram freezes the system at one instant, showing concrete instances rather than general structure.
- 🏷️ **Notation:** Object names are underlined, and each object lists its class plus current attribute values.
- 🖊️ **Drawing Steps:** Identify objects, clarify their relations and associations, then name and explore each object.
- 🎯 **Purpose:** Object diagrams model the static aspect of a system and support forward and reverse engineering.
- 🔄 **Class vs Object:** A class diagram shows the abstract blueprint; an object diagram shows one real instance of it.

Read More

![What is Object Diagram in UML](https://www.guru99.com/images/uml-object-diagram-2.png)

Before we learn Object Diagram, let’s understand-

## What is Class Diagram?

A class represents things that are put together having common behavior. It is a blueprint of an object-oriented system

Let us consider an exciting example of classes and objects. We all know cars like Ferrari, Volkswagen, Mercedes, and Porsche, etc. These are all cars manufacturing companies. Here, we can consider that a car is a **class** and Ferrari, Mercedes are the **objects**

[![Class Diagram in UML]()](https://www.guru99.com/images/1/042319_0457_WhatisUMLOb1.png)

*Class Diagram Notation*

## What is Object Diagram in UML?

An **Object Diagram** describes the instance of a class. It visualizes the particular functionality of a system. The difference between the class and object diagram is that the class diagram mainly represents the bird’s eye view of a system which is also referred to as an abstract view.

Objects are the real-world entities whose behavior is defined by the classes. Objects are used to represent the static view of an object-oriented system. We cannot define an object without its class. Object and class diagrams are somewhat similar.

### Notation of an Object Diagram

[![Object Diagram Notation]()](https://www.guru99.com/images/1/042319_0457_WhatisUMLOb2.png)

*Object Diagram Notation*

### Object Diagram Example

[![Object Diagram Example]()](https://www.guru99.com/images/1/042319_0457_WhatisUMLOb3.png)

*Object Diagram Example*

The above UML object diagram contains two objects named Ferrari and BMW which belong to a class named as a Car. The objects are nothing but real-world entities that are the instances of a class.

## How to Draw Object Diagram

Below are the steps to draw Object Diagram in UML:

- **Step 1)** Before drawing an object diagram, one should analyze all the objects inside the system.
- **Step 2)** The relations of the object must be known before creating the diagram.
- **Step 3)** Association between various objects must be cleared before.
- **Step 4)** An object should have a meaningful name that describes its functionality.
- **Step 5)** An object must be explored to analyze various functionalities of it.

**Don't Miss:**

- [UML Notation Tutorial: UML Diagram Symbol with Examples](https://www.guru99.com/uml-notation-symbol.html)
- [Activity Diagram in UML: Symbol, Components & Example](https://www.guru99.com/uml-activity-diagram.html)
- [UML Tutorial PDF for Beginners](https://www.guru99.com/uml-tutorial-pdf.html)
- [Difference Between Aggregation and Composition in UML](https://www.guru99.com/uml-aggregation-vs-composition.html)

## Purpose of Object Diagram

- It is used to describe the static aspect of a system.
- It is used to represent an instance of a class.
- It can be used to perform forward and reverse engineering on systems.
- It is used to understand the behavior of an object.
- It can be used to explore the relations of an object and can be used to analyze other connecting objects.

## Applications of Object Diagram

Following are the applications of Object Diagram:

- Object diagrams play an essential role while generating a blueprint of an object-oriented system.
- Object diagrams provide means of modeling the classes, data and other information as a set or a single unit.
- It is used for analyzing the online or offline system. The functioning of a system can be visualized using object diagrams.

## Class Diagram Vs. Object Diagram

| Serial no. | Class | Object |
| --- | --- | --- |
| **1** | It represents static aspects of a system. | It represents the behavior of a system in real time. |
| **2** | It doesn’t include dynamic changes. | It captures runtime changes of a system. |
| **3** | It never includes attributes or data values of an instance. | It includes attributes and data values of any instance. |
| **4** | [Class Diagram](https://www.guru99.com/uml-class-diagram.html) manipulates the behavior of objects. | Objects are instances of classes. |

## FAQs

⚖️ What is the difference between an object diagram and a sequence diagram?

An object diagram shows a static snapshot of objects and their values at one instant. A sequence diagram shows dynamic behavior—the time-ordered messages objects exchange. Object diagrams capture state; sequence diagrams capture interaction over time.

📸 Why is an object diagram called a snapshot of a system?

An object diagram is called a snapshot because it freezes the system at one moment, showing specific objects, their attribute values, and links. Unlike a class diagram, it captures a concrete instance rather than the general structure.

🔢 How many object diagrams can you create from one class diagram?

You can create many object diagrams from a single class diagram. Each object diagram represents one possible instance of the classes with different objects and values, so one class model can illustrate countless real scenarios.

🤖 How can AI help create an object diagram?

AI diagram tools can read a class definition or description and generate a sample object diagram with realistic instances and values. This helps beginners see concrete examples, though the generated objects should be checked for accuracy.

🤖 Can AI convert a class diagram into an object diagram example?

Yes. Some AI tools take a class diagram and produce an object diagram by instantiating classes with example data. The result illustrates how the model looks at runtime, but you should verify the values and links.

#### Summarize this post with:

ChatGPTPerplexityGrokGoogle AI

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.**

##### Sign up for the newsletter

Subscribe for Free

You have successfully subscribed.  
Please check your inbox.

![AI-Newsletter]() Chosen by over **350,000+** professionals

[Scroll to top](#wrapper)

×

Search for:

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/uml-object-diagram-2.png","url":"https://www.guru99.com/images/uml-object-diagram-2.png","width":"700","height":"250","caption":"UML Object Diagram","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/uml-object-diagram.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/uml","name":"UML"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/uml-object-diagram.html","name":"What is Object Diagram in UML? Learn with Example"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/uml-object-diagram.html#webpage","url":"https://www.guru99.com/uml-object-diagram.html","name":"What is Object Diagram in UML? Learn with Example","dateModified":"2026-10-08T17:32:30+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/uml-object-diagram-2.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/uml-object-diagram.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/editorial","name":"Editorial Team","url":"https://www.guru99.com/author/editorial","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/favicon-new-logo.png","url":"https://www.guru99.com/images/favicon-new-logo.png","caption":"Editorial Team","inLanguage":"en-US"},"sameAs":["https://www.guru99.com/editorial-team"],"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"UML","headline":"What is Object Diagram in UML? Learn with Example","description":"In this Object Diagram tutorial, we will learn What is Object Diagram in UML with Example, Purpose, Applications, and How to Draw Object Diagram.","keywords":"uml, programming","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/editorial","name":"Editorial Team"},"dateModified":"2026-10-08T17:32:30+05:30","image":{"@id":"https://www.guru99.com/images/uml-object-diagram-2.png"},"copyrightYear":"2026","name":"What is Object Diagram in UML? Learn with Example","subjectOf":[{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is the difference between an object diagram and a sequence diagram?","acceptedAnswer":{"@type":"Answer","text":"An object diagram shows a static snapshot of objects and their values at one instant. A sequence diagram shows dynamic behavior\u2014the time-ordered messages objects exchange. Object diagrams capture state; sequence diagrams capture interaction over time."}},{"@type":"Question","name":"Why is an object diagram called a snapshot of a system?","acceptedAnswer":{"@type":"Answer","text":"An object diagram is called a snapshot because it freezes the system at one moment, showing specific objects, their attribute values, and links. Unlike a class diagram, it captures a concrete instance rather than the general structure."}},{"@type":"Question","name":"How many object diagrams can you create from one class diagram?","acceptedAnswer":{"@type":"Answer","text":"You can create many object diagrams from a single class diagram. Each object diagram represents one possible instance of the classes with different objects and values, so one class model can illustrate countless real scenarios."}},{"@type":"Question","name":"How can AI help create an object diagram?","acceptedAnswer":{"@type":"Answer","text":"AI diagram tools can read a class definition or description and generate a sample object diagram with realistic instances and values. This helps beginners see concrete examples, though the generated objects should be checked for accuracy."}},{"@type":"Question","name":"Can AI convert a class diagram into an object diagram example?","acceptedAnswer":{"@type":"Answer","text":"Yes. Some AI tools take a class diagram and produce an object diagram by instantiating classes with example data. The result illustrates how the model looks at runtime, but you should verify the values and links."}}]}],"@id":"https://www.guru99.com/uml-object-diagram.html#schema-1130068","isPartOf":{"@id":"https://www.guru99.com/uml-object-diagram.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/uml-object-diagram.html#webpage"}}]}
```
