Advertisements
Advertisements
Question
In encapsulation, data can be ______ or ______ whereas, in data hiding, data must be ______ only.
Fill in the Blanks
Solution
In encapsulation, data can be public or private whereas, in data hiding, data must be private only.
shaalaa.com
Is there an error in this question or solution?
Chapter 1.01: Introduction to Object Oriented Programming Concepts - EXERCISES [Page 9]