Computer Science, asked by ansh59, 1 year ago

what is data hiding in c++??

Answers

Answered by AverageNazi
2
Data hiding is a software development technique specifically used in object-oriented programming (OOP) to hide internal object details (data members). Data hiding ensures exclusive data access to class members and protects object integrity by preventing unintended or intended changes.

Data hiding also reduces system complexity for increased robustness by limiting interdependencies between software components. 

Data hiding is also known as data encapsulation or information hiding.

i hope it helps ✌️
Answered by anvi10
1
hope it's help you dear friend
Attachments:
Similar questions