Which OOP feature hides internal details and exposes only necessary…
2025
Which OOP feature hides internal details and exposes only necessary functionality?
Answer: D. Abstraction — Abstraction hides internal implementation details and exposes only the necessary functionality to the user. Encapsulation bundles data and methods together,…
- A.
Inheritance
- B.
Encapsulation
- C.
Polymorphism
- D.
Abstraction
Attempted by 193 students.
Show answer & explanation
Correct answer: D
Abstraction hides internal implementation details and exposes only the necessary functionality to the user. Encapsulation bundles data and methods together, but the feature described in the stem is abstraction.
Loading lesson…