Data Hiding is kind of isolation of data from direct access by program - C++ basic concepts

Q.   Only functions of the class can access the data of the class and they(functions) provides the interface between data, objects and the program. This kind isolation of the data from direct access by the program is called _______________ .

- Published on 17 Jul 15

a. Data Abstraction
b. Data Hiding
c. Data Binding
d. Data Encapsulation

ANSWER: Data Hiding
 

    Discussion

  • Nihal   -Posted on 08 Oct 15
    Only functions of the class can access the data of the class and they(functions) provides the interface between data, objects and the program. This kind isolation of the data from direct access by the program is called data hiding. Data hiding is a technique that is used in object-oriented programming (OOP) to hide internal object details. Data hiding is also known as data encapsulation or information hiding.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)