Answer & Solution
Answer: Option A
Solution:
Abstraction in C++ refers to the process of
hiding the implementation details of a class and exposing only the
essential features to the outside world.
It allows the user to interact with an object without knowing the internal complexity, making the code cleaner, modular, and easier to maintain.
Why other options are incorrect:
Polymorphism deals with using the same function or operator in different ways.
Encapsulation is about wrapping data and functions together into a single unit (class).
Inheritance allows one class to acquire the properties of another.
Therefore, the correct answer is
Abstraction.