In object-oriented programming, ____ refers to the bundling of data and methods that operate on that data into a single unit.

  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism
In object-oriented programming, encapsulation refers to the concept of bundling data (attributes) and methods (functions) that operate on that data into a single unit, known as a class. This helps in data hiding and controlling access to an object's internals.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *