What is the main purpose of using abstraction in Object-Oriented Programming?
A. To expose all the implementation details
B. To restrict access to public methods
C. To define class methods
D. To hide the complex implementation details and only expose the necessary features
Answer: Option D

Join The Discussion