Type Here to Get Search Results !

What does the term "abstraction" refer to in OOP?

0

 What does the term "abstraction" refer to in OOP?

A) Hiding implementation details and showing only the necessary features of an object.
B) Creating a new instance of a class.
C) Defining a method that can be overridden.
D) The process of aggregating multiple objects.

Answer: A) Hiding implementation details and showing only the necessary features of an object.

Explanation: Abstraction is a core principle of OOP that focuses on exposing only the relevant features of an object while hiding unnecessary implementation details. This allows developers to interact with objects at a high level without needing to understand their internal workings.

Post a Comment

0 Comments