answersLogoWhite

0


Best Answer

Data Encapsulation : It is a process of bundling the data, and the functions that use them, as a single unit( atleast in C++) . In C++ the data type "class" is used to achieve this.

Data Abstraction : It is a process of exposing only the interfaces and hiding the implementation details from the user. The interface exposed will remain the same: even if the internal implementation changes. This helps the user to use the new functionality without rewriting the client that was designed for previous implementation (strictly speaking ... previous interface).

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between data abstraction and encapsulation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the characteristics of OOPS?

Data Encapsulation, Abstraction, Inheritance, Polymorphism


What are basic features?

features are: 1. Inheritance 2. Polymorphism 3. Data Encapsulation 4. Data Abstraction etc..


What are basic java features?

features are: 1. Inheritance 2. Polymorphism 3. Data Encapsulation 4. Data Abstraction etc..


What is data abstraction in c sharp?

Abstraction means that all information exist but only the relevent information is provided to the user. Encapsulation assists abstraction by providing a mean of suppressing the non-essential details.


What are oop functions?

1.genericity 2.polymorphism 3.objects and classes 4.data abstraction 5.data encapsulation 6.inheritence


What are functionalities of OOPS?

1.genericity 2.polymorphism 3.objects and classes 4.data abstraction 5.data encapsulation 6.inheritence


Assumptions of 2 phase commit protocol?

to implement real-world entities more and more in computer language and to protect datas we require c++.c++ is basically an object oriented programming language.there are special features which are not present in c such as data encapsulation,data abstraction,polymorphism,inheritance etc.by encapsulation ,we can bind different data types in single unit.by data abstraction ,we can protect our datas.by polymorphism ,we can overload an operator.and by inheritance,we can inherit the properties of the base class.


Difference between encapsulation and abstraction?

Encapsulation means hiding something, so you don't know anything about it, not even whether it exists or not. Abstraction means vague, you may know what it is or expect what it will be and thus behave, but not exactly. And you don't know how it (the object) is implemented in details. In a more compact context, encapsulation is referring to hiding data members (or attributes) and their types from outsiders, while abstraction means to define the interface or behaviors of an object (the APIs). You know the method signatures (the contracts), but you don't know anything about the implementation.


What is the difference between data hidding and data abstraction?

Abstraction: Abstraction refers to removal/reduction of irrelevant data or unnecessary data or confidential data from a Class. Data hiding: Data hiding is a feature provided by the abstraction for hiding the data from the class.


Some important features of java programming?

The important features of Java are the ones that relate to the object oriented concepts like: a. Inheritance b. Polymorphism c. Encapsulation d. Data Hiding e. Data Abstraction etc


What is data abstraction and data hiding in oops concepts?

abstraction is show nonessential data to user ,


Show the difference bw 3-levels of data abstraction in DBMS?

The three levels of data abstraction in a DBMS are physical, logical, and view. Physical level: Describes how data is stored in the database, including details like data storage and access paths. Logical level: Focuses on the structure of the data in the database, including schemas, tables, and relationships. View level: Represents how users view the data, providing a customized and simplified representation of the data to different user groups.