In Object-Oriented Software Engineering, hiding internal state details of an object and restricting direct access via getter/setter methods is:
AEncapsulation
BPolymorphism
CAbstraction
DInheritance
Explanation
Encapsulation bundles data and operating methods together, shielding internal attributes from unauthorized direct access.
Exam Relevance
- Topic: Object-Oriented Design
- Subtopic: OOP Concepts

No Comments