Computer Science, asked by ANUKULCHIN2223, 10 months ago

Explain the relationship between the definition of module interfaces and the design principle of information hiding'.

Answers

Answered by piyush2569
0

Answer:

In computer science, information hiding is the principle of segregation of the design decisions in a computer program that are most likely to change, thus protecting other parts of the program from extensive modification if the design decision is changed. The protection involves providing a stable interface which protects the remainder of the program from the implementation (the details that are most likely to change).

Written another way, information hiding is the ability to prevent certain aspects of a class or software component from being accessible to its clients, using either programming language features (like private variables) or an explicit exporting policy.

Similar questions