answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

Data hiding has no real meaning in C++ since data cannot be hidden in source code. Data hiding is a function of binary libraries and other executables where information is obfuscated. Data abstraction simply refers to the way users need not know how the class internals operate in order to use objects of that class, in the same way that it is not necessary to know the internal workings of the combustion engine in order to start a car. The ignition or start button is sufficient to start the engine, and is therefore an abstraction for all the events that have to occur in a specific sequence in order to fire up the engine.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between data hidding and data abstraction?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


What is abstraction in visual basic?

The basic idea of data abstraction is to structure the programs that are to use compound data objects so that they operate on ``abstract data.'' That is, our programs should use data in such a way as to make no assumptions about the data that are not strictly necessary for performing the task at hand. At the same time, a ``concrete'' data representation is defined independent of the programs that use the data. The interface between these two parts of our system will be a set of procedures, called selectorsand constructors, that implement the abstract data in terms of the concrete representation. To illustrate this technique, we will consider how to design a set of procedures for manipulating rational numbers.bimzz


Type of data communication?

What is the difference between data communication and telecommunication ?


The lowest level of abstraction which describes how the data are actually are stored is called?

The machine level.


What c plus plus programming statements to implement data abstraction?

Data abstraction is a design concept, whereby interfaces and implementations are kept separate. That is, it should not be necessary to know how an object works in order to use it. The interface provides all you need to know. This reflects much of real life. When watching TV, you have a remote control which allows you to select a channel, but it is not necessary to know how the TV receives and processes radio signals, nor how it separates one channel from another. Those are implementation details that are only of concern to TV engineers. In C++, there are no statements as such to implement data abstraction. You achieve it by designing a public interface which is accessible to normal users, and a private interface that is only accessible to the class designer.

Related questions

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.


What is data abstraction?

Data abstraction is the reduction of a body of data to a simplified representation of the whole. Data abstraction is usually the first step in database design in order to create a simplified framework that can be added to in order to complete the database.


Is data hiding and abstraction are same?

no


Difference between data abstraction and information hiding?

Abstraction: One point of confusion regarding abstraction is its use as both process and an entity. Abstraction, as a process, denotes the extracting of the essential details about an item, or a group of items, while ignoring the inessential details. Abstraction, as an entity, denotes a model, a view, or some other focused representation for an actual item.Information Hiding: Its interface or definition was chosen to reveal as little as possible about its inner workings." Why confusing: Abstraction can be used as a technique for idenfying which information should be hidden. Confusion can occur when people fail to distinguish between the hiding information, and a technique(e.g., abstraction) that is used to help identify which information is to be hidden.


What is the difference between OLAP and data mining?

difference between Data Mining and OLAP


What are the duties of data abstraction clerk?

health


What is the difference between data abstraction and encapsulation?

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).


What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


Layers of data abstraction in dbms?

select*from stludent


What is the difference between data communication and data communication information2010to2013?

The scope of work and the educational requirements are the difference between data communication and data communication information.


Difference between file processing system and database management system?

In file processing system a permanent system file is created for every new object. Application softwares are used to manipulate these files. SO characteristics (Some of them became its drawbacks) of file processing system are:- 1)Data redundancy and inconsistency 2)Difficulty in accessing data 3)Data isolation ie. data is in different formats and files. In database system these issues where addressed, by data abstraction. In DBMS, data is stored using 3 levels of abstraction 1)Physical Level : How data is stored 2)Conceptual level : What data is stored, relationship between data 3)View Level : What is visible to different users.