Object-Oriented Programmin In object-oriented programming language C++, it is possible to o ate and provide an interface that accesses only certain elemente data types.The programmer can decide which user to give accees to and hide the other details. This concept is called data hiding whie is similar in concept to data abstraction. Different Types of Abstraction: There are two types of abstraction; functional abstraction and date abstraction. The main difference between them is that functional abstraction refers to a function that can be used without taking into account how the function is implemented. Data abstraction refers to the data that can be used without taking into account how the data are stored. Why Abstraction is needed ? There are lots of advantages for using abstraction.
They can be explained as follows: