Advertisements
Advertisements
Question
Which of the following principles does not allow to access directly from outside the class premises?
Options
Data hiding
Encapsulation
Abstraction
All of the above
MCQ
Solution
All of the above
Explanation:
Data hiding, Encapsulation and Abstraction all three restrict direct access to data from outside a class.
shaalaa.com
Is there an error in this question or solution?