Multiple choice

Access to an object only through its member functions, while keeping the details private is

  1. Mudularity

  2. Inheritance

  3. Encapsulation

  4. Polymorphism

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Encapsulation is the OOP principle of keeping object details private and providing access only through member functions. This hides internal implementation details and protects data integrity by controlling how external code can interact with an object's state.