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:

  1. Flexibility: By hiding data or abstracting details that are not needed for presentation, we can achieves greater flexibility.
  2. Security: Abstraction gives access to only required details that are required by us and it hide the implementation details, thus giving good security to the programes.This concepts helps to design real-time applications with good security.
  3. Easier Replacement: Using abtsraction cocepts, it is possible to replace code without recompilation. This makes our work easier and saves lots of time.
  4. Modular Approach: In OOP i.e in C++ language, the abstraction concept helps to divide the our program into modules (small part) and test each of them individually. Then all modules are combined and ultimately tested together. This makes the application development in C++ easier.