Multiple choice

Why is abstraction important in object-oriented programming?

  1. For data hiding

  2. For declaring classes

  3. For memory management

  4. For binding the data with functions

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

Abstraction hides complex implementation details while exposing only necessary interfaces. This allows developers to work with high-level concepts without understanding underlying complexities, reducing code coupling.