Data abstraction is the reduction of a particular body of data to a simplified representation of the whole. Abstraction, in general, is the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics.
What is an example of data abstraction?
Data Abstraction refers to the act of representing essential features without including the background details or explanations. A Switchboard is an example of Data Abstraction. It hides all the details of the circuitry and current flow and provides a very simple way to switch ON or OFF electrical appliances.
What is a data abstraction in OOP?
Abstraction is the concept of object-oriented programming that "shows" only essential attributes and "hides" unnecessary information. ... Abstraction is selecting data from a larger pool to show only relevant details of the object to the user.