c++ data hiding

In OOP class data is not accessible to the outside world, and only those functions
which are wrapped in the class can access it. This feature is called data hiding or
Information hiding. By default class data is private. But we can also make it public
or protected.




Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post