Computer Science, asked by SANTANUE859, 1 year ago

Explain Data Hiding with respect to OOP.

Answers

Answered by sunshineee
2

Abstraction - act of representing only essential features without giving any background details or explantations.

Answered by pratyush15899
6

\large\bold{\mathfrak{\purple❥{A{\pink{N{\green{S{\blue{W{\red{E{\orange{R}}}}}}}}}}}}..✍}

☞ Data hiding can be defined as the mechanism of hiding the data of a class from the outside world or to be precise, from other classes.

☞ Data hiding is achieved by making the members of the class private. Access to private members is restricted and is only available to the member functions of the same class. However the public part of the object is accessible outside the class.

── ❖ ── ✦ ── ❖ ───── ❖ ── ✦ ── ❖ ──End.

彡★Thank you for Asking★彡

Note:[There are more such questions which are already answerd, Don't forget to check the profile.]

Similar questions