
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference Between Data Hiding and Encapsulation
In this post, we will understand the difference between data hiding and encapsulation techniques.
Data hiding
It is associated with data security.
It also helps conceal the complexities of the application.
It focuses on hiding/restricting the data usage.
It is considered as a process and a technique.
This data is always private and inaccessible.
Encapsulation
It can be defined as the wrapping up of data into a single module.
This will hide the complicated and confidential information about the application.
This encapsulated data can be private or public, depending on the requirement.
It is considered as a sub-process in the bigger process of data hiding.
- Related Questions & Answers
- Difference Between Abstraction and Data Hiding
- Difference Between Abstraction and Encapsulation
- C++ program to hold student info using data hiding and encapsulation
- Explain difference between Abstraction and Encapsulation in PHP.
- Difference between Method Overriding and Method Hiding in C#
- What is the difference between abstraction and encapsulation in Java?
- What is the difference between overriding and hiding in C#?
- Difference Between Data and Metadata
- Difference Between Data and Information
- Data Hiding in Python
- What is the difference between method hiding and method overriding in Java?
- What is the difference between method overloading and method hiding in Java?
- What is the difference between function overriding and method hiding in C#?
- Difference between data type and data structure
- Difference Between Data Warehouse and Data Mart
Advertisements