Single Choice Moderate

QThe wrapping up of data members and Member methods ________ into a single unit is called Encapsulation.

ID: #19901 Basic Concept of OOP 109 views
Question Info
#19901Q ID
ModerateDifficulty
Basic Concept of OOPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A separate
  • B far
  • C close
  • D together
Correct Answer

Explanation

close

The wrapping up of data members and member methods into a single unit is called encapsulation. Encapsulation involves bundling the data (attributes) and methods (functions) that operate on the data into a single unit, which is typically a class in object-oriented programming. This bundling keeps the data and methods close together within the class, promoting modularity and organization.

Share This Question

Challenge a friend or share with your study group.