Single Choice
Easy
QWhich of the following principle does not allow to access data directly from outside the class premises?
ID: #22203
Basic Concept of OOP
94 views
Question Info
#22203Q ID
EasyDifficulty
Basic Concept of OOPTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
In OOP, data hiding, encapsulation, and abstraction are principles that work together to protect data within a class from direct access from outside the class. This is achieved through the use of access modifiers and by providing methods to interact with the data.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic