Exposing only necessary information to client(main program,classes) is known as
Answers
Answer:
“ Exposing only necessary information to client(main program, classes) is known as DATA HIDING”.
Explanation:
1⃣ 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.
2⃣ Data Hiding also reduces system complexity for increased robustness by limiting interdependencies between software components.
3⃣ Data Hiding is also known as DATA ENCAPSULATION or INFORMATION HIDING.
4⃣ Data Hiding was introduced as part of the OOP methodology, in which a program is segregated into objects with specific data and functions. This technique enhances a programmer's ability to create classes with unique data sets and functions, avoiding unnecessary penetration from other program classes.
5⃣ Because software architecture techniques rarely differ, there are few data hiding contradictions. Data Hiding only hides class data components, whereas data encapsulation hides class data parts and private methods.
6⃣ Data Hiding is an extreme version of encapsulation where we not only don't want the user to assess the data members, but we also don't even want them to be able to see what they are. This is typically accomplished by using a void pointer or a forward declared struct pointer as the class data.
❤ HOPE IT HELPS! ❤
REGARDS.