---
title: "What is data encapsulation?"  
description: "What is data encapsulation?"  
author: "Sunita  Singh"  
published: 2017-11-14  
canonical: https://answers.mindstick.com/qa/30565/what-is-data-encapsulation  
category: "programming"  
tags: ["software"]  
reading_time: 1 minute  

---

# What is data encapsulation?

What is [data](https://www.mindstick.com/articles/12634/how-big-data-can-help-cab-aggregators) [encapsulation](https://www.mindstick.com/articles/12229/encapsulation-and-access-specifier)?

## Answers

### Answer by Arti Mishra

## "Data Encapsulation"

![What is data encapsulation?](https://answers.mindstick.com/questionanswer/0bb02c8d-8f1b-489b-aafa-566b075461f9/images/bbb46e28-935b-4785-ba39-d880550824ff.jpg)\

Encapsulation means to **hide the internal details and provide a medium to access it.** It is a fundamental **concept of object-oriented programming language (OOP’s)**. It is used to describe the **binding of data and method in a single unit.**

In other word’s you can also say this, it is a mechanism of hiding the data and a member function of the class and **only shows the functionality to the user**. The real-life example of encapsulation is “**using** **phone call**”, you don’t know the internal working of phone call and how to work internal process. \


---

Original Source: https://answers.mindstick.com/qa/30565/what-is-data-encapsulation

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
