---
title: "What is the difference between a class and an object?"  
description: "What is the difference between a class and an object?"  
author: "Ravi Vishwakarma"  
published: 2021-08-23  
updated: 2021-08-23  
canonical: https://www.mindstick.com/forum/156699/what-is-the-difference-between-a-class-and-an-object  
category: "c#"  
tags: ["c#", "java", "c++"]  
reading_time: 1 minute  

---

# What is the difference between a class and an object?

What is the [difference](https://www.mindstick.com/articles/157114/good-news-or-bad-news-and-the-difference-is) between a [class and an object](https://www.mindstick.com/forum/159467/explain-the-difference-between-a-class-and-an-object-in-c-plus-plus)?

## Replies

### Reply by Ashutosh Kumar Verma

## Different between [Class](https://www.mindstick.com/blog/165/generic-class-in-c-sharp) and Object-

| **Class** | **Object** |
| --- | --- |
| 1- A class is like a container which contains variables, methods and properties. | An object is an instance of a class |
| 2- A class is a templet or blueprint in which Objects are created | An objects is defines the characteristics about class |
| 3- Class is not exists in real world | Object is exists in real world ex- Pen, Book, Chairs etc. |
| 4- Class is a logical entity. | Object is a physical entity. |
| 5- A class is created only once. | Objects are created many times in class or created one or more objects of a class. |
| 6- Class is not used memory space of System | Object are allocate memory space when it created. |

## \


---

Original Source: https://www.mindstick.com/forum/156699/what-is-the-difference-between-a-class-and-an-object

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
