---
title: "What is the use of constructor ?"  
description: "What is the use of constructor ?"  
author: "Anoop Singh"  
published: 2011-03-23  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/593/what-is-the-use-of-constructor  
category: "oops"  
tags: ["oops"]  
reading_time: 1 minute  

---

# What is the use of constructor ?

constructor is used to create and instantiate a object.

## Answers

### Answer by Anoop Singh

constructor is used to create and instantiate a object.


---

Original Source: https://www.mindstick.com/interview/593/what-is-the-use-of-constructor

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
