Javatpoint Logo
Javatpoint Logo

Data Abstraction in C++

In C++ program if we implement class with private and public members then it is an example of data abstraction.

Let's see the simple example of data abstraction.


Enter two numbers:
Sum of two number is: 9
Next TopicC++ Namespaces

Please Share

facebook twitter google plus pinterest tumbler

Learn Latest Tutorials