Computer Science, asked by Parveenjahangi047, 8 months ago

hw is data hiding related to data abstraction

Answers

Answered by diyam55
0

Explanation:

Data abstraction is displaying essential data only hiding all the other details.

Data hiding refers to hiding data (everything) members from outside access.

Hope this helps

Answered by mad210219
1

Data hiding related to data abstraction

Explanation:

The main principles in object-oriented programming are abstraction and data hiding.

Abstraction is a way to express important properties without taking the background information into account. Data hiding, on the other side, isolates information from system direct access.

Although the two terms are similar in their context, they are distinct.

The abstraction allows user-defined data types to be created for real-world objects with the same properties. The data and the function from unauthorized access are protected from data hiding.

Similar questions