MCQ PracticeSingle Best AnswerTopic: Basic Concept of OOP
Q
What is the primary purpose of abstraction in OOP?
Question ID
#20075
Subchapter
Basic Concept of OOP
Action
Choose one option below
Choose Your Answer
Click an option to check whether your answer is correct.
A
Exposing all details of an object ✔✖
B
Hiding unnecessary details and showing only essential features ✔✖
C
Avoiding the use of objects ✔✖
D
Combining unrelated classes ✔✖
B
Correct Answer: B
Explanation
Abstraction in OOP involves hiding unnecessary details of an object and exposing only the essential features, simplifying the understanding and use of objects.