Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

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
Submitted by: mcqstutor Team More Software Engineering MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *